nlohmann::basic_json::at

access specified array element with bounds checking

Synopsis

Declared in <nlohmann/json.hpp>

reference
at(size_type idx);

Return Value

the type of an element reference

Parameters

NameDescription
idxa type to represent container sizes