BloombergLP::bdljsn::JsonObject::JsonObject

Create a JsonObject having the same value as the specified original. Use the specified basicAllocator to supply memory. If basicAllocator == original.allocator() the value of original will be moved (in constant time) to the newly-created JsonObject, and original will be left in a valid but unspecified state. Otherwise, original is copied, and basicAllocator used to supply memory.

Synopsis

Declared in <bdljsn_json.h>

JsonObject(
    bslmf::MovableRef<JsonObject> original,
    bslma::Allocator* basicAllocator);