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

Create a `JsonArray` having the same value as the specified `original`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
JsonArray(
    xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray] const& original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

== Description

Create a `JsonArray` having the same value as the specified `original` object&period; Optionally specify `basicAllocator` to supply memory&period; If `basicAllocator` is not specified, the allocator associated with `original` is propagated for use in the newly&hyphen;created `JsonArray`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| source array
| *basicAllocator*
| memory allocator&semi; null uses the default
|===


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