nlohmann::basic_json::at

access specified element via JSON Pointer, with bounds checking

Synopsis

Declared in <nlohmann/json.hpp>

reference
at(json_pointer const& ptr);

Return Value

reference to the element pointed to by ptr

Parameters

NameDescription
ptrJSON Pointer to the desired element