access specified object element with bounds checking

Synopsis

Declared in <nlohmann/json.hpp>

reference
at(object_t::key_type const& key);

Return Value

reference to the element with key key

Parameters

Name

Description

key

key of the element to access

Created with MrDocs