[#nlohmann-basic_json-00-from_bson-05] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic_json]::from_bson :relfileprefix: ../../ :mrdocs: create a JSON value from an input in BSON format == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename IteratorType> [[__warn_unused_result__]] static xref:nlohmann/basic_json-00.adoc[basic_json] from_bson( IteratorType first, IteratorType last, bool const strict = true, bool const allow_exceptions = true); ---- == Return Value a class to store JSON values [.small]#Created with https://www.mrdocs.com[MrDocs]#