[#BloombergLP-bdljsn-Json-2constructor-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json.adoc[Json]::Json :relfileprefix: ../../../ :mrdocs: Create a `Json` object by moving from the specified `number`. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit Json( xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<JsonNumber>] number, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- == Parameters [cols="1,4"] |=== | Name| Description | *number* | number value to store | *basicAllocator* | memory allocator; null uses the default |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#