[#nlohmann-basic_json-0e-get_to-07] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-0e.adoc[basic_json<>]::get_to :relfileprefix: ../../ :mrdocs: get a value (explicit) == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename ValueType> requires !detail::is_basic_json<ValueType>::value&& detail::has_from_json<basic_json_t, ValueType>::value ValueType& get_to(ValueType& v) const noexcept(noexcept(JSONSerializer<ValueType, void>::from_json(std::declval<const basic_json_t &>(), v))); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#