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

Name

Description

original

source array

basicAllocator

memory allocator; null uses the default

Created with MrDocs