access specified element via JSON Pointer, with bounds checking

Synopsis

Declared in <nlohmann/json.hpp>

const_reference
at(json_pointer const& ptr) const;

Return Value

const reference to the element pointed to by ptr

Parameters

Name

Description

ptr

JSON Pointer to the desired element

Created with MrDocs