| # <small>nlohmann::basic_json::</small>~basic_json | |
| ```cpp | |
| ~basic_json() noexcept; | |
| ``` | |
| Destroys the JSON value and frees all allocated memory. | |
| ## Exception safety | |
| No-throw guarantee: this member function never throws exceptions. | |
| ## Complexity | |
| Linear. | |
| <!-- NOLINT Examples --> | |
| ## Version history | |
| - Added in version 1.0.0. |