[#BloombergLP-bdljsn-Json-makeArray-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json.adoc[Json]::makeArray :relfileprefix: ../../../ :mrdocs: `makeArray` overloads == Synopses Declared in `<bdljsn_json.h>` Create an instance of type `JsonArray` 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 `array` to initialize the `JsonArray` created. This method first destroys the current value held by this object (even if the type currently held is `JsonArray`). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray]& xref:BloombergLP/bdljsn/Json/makeArray-0f.adoc[makeArray](); ---- [.small]#xref:BloombergLP/bdljsn/Json/makeArray-0f.adoc[_» more..._]# Set the value of this object to be a "Array" value. Optionally specify the `value` of the "Array". [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray]& xref:BloombergLP/bdljsn/Json/makeArray-0e.adoc[makeArray](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<JsonArray>] array); ---- [.small]#xref:BloombergLP/bdljsn/Json/makeArray-0e.adoc[_» more..._]# Same as the overload taking no arguments, but initialize the created `JsonArray` from the specified `array`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray]& xref:BloombergLP/bdljsn/Json/makeArray-05.adoc[makeArray](xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray] const& array); ---- [.small]#xref:BloombergLP/bdljsn/Json/makeArray-05.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#