[#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.g., the address of a `bslma::Allocator` object) to supply memory. The allocator of `original` remains unchanged. 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; otherwise `original` is unchanged (and an exception may be thrown). == Synopsis Declared in `<bdljsn_jsonnumber.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- JsonNumber( xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<JsonNumber>] original, xref:BloombergLP/bdljsn/JsonNumber/allocator_type.adoc[allocator_type] const& allocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#