[#nlohmann-basic_json-05-get_to-02]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-05.adoc[basic&lowbar;json&lt;&gt;]::get&lowbar;to
:relfileprefix: ../../
:mrdocs:

== Synopsis

Declared in `&lt;nlohmann&sol;json&period;hpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename ValueType&gt;
requires detail&colon;&colon;is&lowbar;basic&lowbar;json&lt;ValueType&gt;&colon;&colon;value
ValueType&
get&lowbar;to(ValueType& v) const;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
