BloombergLP::bdljsn::Json::makeObject

makeObject overloads

Synopses

Declared in <bdljsn_json.h>

Create an instance of type JsonObject in this object, using the allocator currently held by this object to supply memory, and return a reference providing modifiable access to the created instance. Optionally specify object to initialize the JsonObject created. This method first destroys the current value held by this object (even if the type currently held is JsonObject).

JsonObject&
makeObject();
» more...

Set the value of this object to be a "Object" value. Optionally specify the value of the "Object".

JsonObject&
makeObject(bslmf::MovableRef<JsonObject> object);
» more...

Same as the overload taking no arguments, but initialize the created JsonObject from the specified object.

JsonObject&
makeObject(JsonObject const& object);
» more...