[#nlohmann-basic_json-00-parse-0f] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic_json]::parse :relfileprefix: ../../ :mrdocs: deserialize from a compatible input == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename InputType> [[__warn_unused_result__]] static xref:nlohmann/basic_json-00.adoc[basic_json] parse( InputType&& i, xref:nlohmann/basic_json-00/parser_callback_t.adoc[parser_callback_t] cb = nullptr, bool const allow_exceptions = true, bool const ignore_comments = false, bool const ignore_trailing_commas = false); ---- == Return Value a class to store JSON values == Parameters [cols=2] |=== | Name | Description | *cb* | per‐element parser callback type |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#