BloombergLP::bdljsn::Json::Json

Create a Json object having the same structure as the specified initializer. Optionally specify the basicAllocator used to supply memory. If basicAllocator is not specified, the currently installed default allocator is used to supply memory.

Synopsis

Declared in <bdljsn_json.h>

template<class t_JSON_INITIALIZER>
Json(
    t_JSON_INITIALIZER const& initializer,
    bslma::Allocator* basicAllocator = 0,
    void* = 0)
requires bsl::is_same<t_JSON_INITIALIZER,
                        Json_Initializer>::value;