[#BloombergLP-bdljsn-JsonArray-2constructor-0b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray]::JsonArray
:relfileprefix: ../../../
:mrdocs:

Create a `JsonArray` by moving from the specified `original`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
JsonArray(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;JsonArray&gt;] original) noexcept;
----

== Description

Create a `JsonArray` having the same value as the specified `original` object by moving (in constant time) the contents of `original` to the new `JsonArray` object&period; The allocator associated with `original` is propagated for use in the newly&hyphen;created `JsonArray` object&period; `original` is left in a valid but unspecified state&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| source array
|===


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