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

Create a `JsonNumber` object having the same value as the specified `original` object, using the specified `allocator` (e&period;g&period;, the address of a `bslma&colon;&colon;Allocator` object) to supply memory&period; The allocator of `original` remains unchanged&period; If `original` and the newly created object have the same allocator then the value of `original` becomes unspecified but valid, and no exceptions will be thrown&semi; otherwise `original` is unchanged (and an exception may be thrown)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
JsonNumber(
    xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;JsonNumber&gt;] original,
    xref:BloombergLP/bdljsn/JsonNumber/allocator_type.adoc[allocator&lowbar;type] const& allocator);
----


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