[#nlohmann-basic_json-0e-parse-08]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-0e.adoc[basic&lowbar;json&lt;&gt;]::parse
:relfileprefix: ../../
:mrdocs:

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;&lowbar;&lowbar;warn&lowbar;unused&lowbar;result&lowbar;&lowbar;, &lowbar;&lowbar;deprecated&lowbar;&lowbar;&rsqb;&rsqb;
static
xref:nlohmann/basic_json-00.adoc[basic&lowbar;json]
parse(
    detail::span&lowbar;input&lowbar;adapter&& i,
    xref:nlohmann/basic_json-0e/parser_callback_t.adoc[parser&lowbar;callback&lowbar;t] cb = nullptr,
    bool const allow&lowbar;exceptions = true,
    bool const ignore&lowbar;comments = false,
    bool const ignore&lowbar;trailing&lowbar;commas = false);
----


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