BloombergLP::bdljsn::JsonArray::JsonArray

Create an empty JsonArray using the specified basicAllocator.

Synopsis

Declared in <bdljsn_json.h>

explicit
JsonArray(bslma::Allocator* basicAllocator);

Description

Create an empty JsonArray. Use the specified basicAllocator to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

NameDescription
basicAllocatormemory allocator; null uses the default