BloombergLP::bdljsn::JsonObject::JsonObject

Create an empty JsonObject using the specified basicAllocator.

Synopsis

Declared in <bdljsn_json.h>

explicit
JsonObject(bslma::Allocator* basicAllocator);

Description

Create an empty JsonObject. 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