[#nlohmann-basic_json-00-from_bjdata-02]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic&lowbar;json]::from&lowbar;bjdata
:relfileprefix: ../../
:mrdocs:

create a JSON value from an input in BJData format

== Synopsis

Declared in `&lt;nlohmann&sol;json&period;hpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename InputType&gt;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
static
xref:nlohmann/basic_json-00.adoc[basic&lowbar;json]
from&lowbar;bjdata(
    InputType&& i,
    bool const strict = true,
    bool const allow&lowbar;exceptions = true);
----

== Return Value

a class to store JSON values

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====

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