[#BloombergLP-bdljsn-Json_Initializer-2constructor-08]
= 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 boolean value of the specified `value` in the internal variant&period; Note that (template parameter) `t&lowbar;BOOL` must be `bool`&semi; types that convert to `bool` (e&period;g&period;, pointers) are disallowed&period;

== Synopsis

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

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


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