[#nlohmann-basic_json-00-type] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic_json]::type :relfileprefix: ../../ :mrdocs: return the type of the JSON value (explicit) == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:nlohmann/basic_json-00/value_t.adoc[value_t] type() const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#