[#nlohmann-basic_json-00-at-03]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic&lowbar;json]::at
:relfileprefix: ../../
:mrdocs:

access specified object element with bounds checking

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:nlohmann/basic_json-00/const_reference.adoc[const&lowbar;reference]
at(object&lowbar;t::key&lowbar;type const& key) const;
----

== Return Value

the type of an element const reference


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