BloombergLP::bdljsn::JsonObject::JsonObject

Create a JsonObject having the same value as original.

Synopsis

Declared in <bdljsn_json.h>

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

Description

Create a JsonObject having the same value as the specified original. Optionally specify the basicAllocator used to supply memory. If basicAllocator is not specified, the currently installed default allocator is used to supply memory.

Parameters

NameDescription
originalsource object
basicAllocatormemory allocator; null uses the default