nlohmann::basic_json::~basic_json¶
~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.
See also¶
- basic_json constructs a JSON value
- clear clears the content of a JSON value without destroying it
Version history¶
- Added in version 1.0.0.