BloombergLP::bdljsn::Json::Json

Create a Json object holding JsonNull using basicAllocator.

Synopsis

Declared in <bdljsn_json.h>

explicit
Json(bslma::Allocator* basicAllocator);

Description

Create a Json object having the type (and the singleton value) of JsonNull. Use the specified basicAllocator to supply memory. If basicAllocator is 0, the currently installed default allocator is used to supply memory.

Parameters

NameDescription
basicAllocatormemory allocator; null uses the default