BloombergLP::bdljsn::JsonArray::JsonArray

Create a JsonArray having the same value as the specified original.

Synopsis

Declared in <bdljsn_json.h>

JsonArray(
    JsonArray const& original,
    bslma::Allocator* basicAllocator = 0);

Description

Create a JsonArray having the same value as the specified original object. Optionally specify basicAllocator to supply memory. If basicAllocator is not specified, the allocator associated with original is propagated for use in the newly-created JsonArray.

Parameters

NameDescription
originalsource array
basicAllocatormemory allocator; null uses the default