[#BloombergLP-bdljsn-Json-makeObject-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json.adoc[Json]::makeObject
:relfileprefix: ../../../
:mrdocs:

Replace this value with a default&hyphen;constructed `JsonObject`&period;

== Synopsis

Declared in `&lt;bdljsn&lowbar;json&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject]&
makeObject();
----

== 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&period; This method first destroys the current value held by this object (even if the type currently held is `JsonObject`)&period;

== Return Value

a reference providing modifiable access to the held `JsonObject`


[.small]#Created with https://www.mrdocs.com[MrDocs]#
