[#nlohmann-basic_json-00-from_bjdata-0b] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic_json]::from_bjdata :relfileprefix: ../../ :mrdocs: create a JSON value from an input in BJData format (iterator pair, or iterator+sentinel pair for C++20 ranges support) == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename IteratorType, typename SentinelType = IteratorType> requires detail::can_compare_ne<IteratorType, SentinelType>::value [[nodiscard]] static xref:nlohmann/basic_json-00.adoc[basic_json] from_bjdata( IteratorType first, SentinelType last, bool const strict = true, bool const allow_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]#