JSON for Modern C++  2.0.0
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberUnsignedType = uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
nlohmann::basic_json::~basic_json ( )
inline

Destroys the JSON value and frees all allocated memory.

Complexity
Linear.
Requirements
This function helps basic_json satisfying the Container requirements:
  • The complexity is linear.
  • All stored elements are destroyed and all memory is freed.
Since
version 1.0.0

Definition at line 1992 of file json.hpp.