[#nlohmann-basic_json-00-2constructor-07] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic_json]::basic_json :relfileprefix: ../../ :mrdocs: construct a JSON container given an iterator range == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class InputIT> requires std::is_same<InputIT, typename basic_json_t::iterator>::value || std::is_same<InputIT, typename basic_json_t::const_iterator>::value basic_json( InputIT first, InputIT last); ---- == Parameters [cols=2] |=== | Name | Description | *first* | The object to construct from |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#