nlohmann::basic_json<>::operator[]

Subscript operator

Synopsis

Declared in <nlohmann/json.hpp>
const_reference
operator[](json_pointer const& ptr) const;


Return Value

the type of an element const reference

Parameters

Name Description
ptr The right operand

Created with MrDocs