mirror of
https://github.com/nlohmann/json.git
synced 2026-10-03 22:06:59 +01:00
27 lines
474 B
Markdown
27 lines
474 B
Markdown
# <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 -->
|
|
|
|
## See also
|
|
|
|
- [basic_json](basic_json.md) constructs a JSON value
|
|
- [clear](clear.md) clears the content of a JSON value without destroying it
|
|
|
|
## Version history
|
|
|
|
- Added in version 1.0.0.
|