[#BloombergLP-bdljsn-Json_Initializer-2constructor-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json_Initializer.adoc[Json&lowbar;Initializer]::Json&lowbar;Initializer
:relfileprefix: ../../../
:mrdocs:

Create a `Json&lowbar;Initializer` object containing the value of the specified `value` in the internal variant&period; If `value` is a signed integral type, then the value is stored as a `long long`&period; If `value` is an unsigned integral type, then the value is stored as an `unsigned long long`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;INTEGRAL&gt;
Json&lowbar;Initializer(
    t&lowbar;INTEGRAL value,
    int* = 0)
requires bsl&colon;&colon;is&lowbar;integral&lt;t&lowbar;INTEGRAL&gt;  &colon;&colon;value
                               &amp;&amp; !bsl&colon;&colon;is&lowbar;same&lt;t&lowbar;INTEGRAL, bool&gt;&colon;&colon;value;
----


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