[#BloombergLP-bdljsn-Json-makeObject-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json.adoc[Json]::makeObject :relfileprefix: ../../../ :mrdocs: Replace this value with a `JsonObject` moved from `object`. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject]& makeObject(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<JsonObject>] object); ---- == Description 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. Initialize the `JsonObject` by moving from the specified `object`. This method first destroys the current value held by this object (even if the type currently held is `JsonObject`). == Return Value a reference providing modifiable access to the held `JsonObject` == Parameters [cols="1,4"] |=== | Name| Description | *object* | value used to initialize the created object |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#