nlohmann::basic_json::at

access specified array element with bounds checking

Synopsis

Declared in <nlohmann/json.hpp>

const_reference
at(size_type idx) const;

Return Value

the type of an element const reference

Parameters

NameDescription
idxa type to represent container sizes