BloombergLP::bdljsn::JsonArray::JsonArray

Create a JsonArray having a Json object for each element (in order) of the specified elements. Optionally specify a basicAllocator used to supply memory. If basicAllocator is not specified, the currently installed default allocator is used.

Synopsis

Declared in <bdljsn_json.h>

JsonArray(
    std::initializer_list<Json_Initializer> elements,
    bslma::Allocator* basicAllocator = 0);