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

Create a `Json` object having the type `JsonNumber` and the the specified `value`&period; Optionally specify the `basicAllocator` used to supply memory&period; If `basicAllocator` is not specified, the currently installed default allocator is used to supply memory&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
Json(
    int value,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----


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