nlohmann::basic_json::operator[]

Subscript operator

Synopsis

Declared in <nlohmann/json.hpp>
template<typename BasicJsonType>
requires detail::is_basic_json<BasicJsonType>::value
[[__deprecated__]]
reference
operator[](nlohmann::json_pointer<BasicJsonType> const& ptr);


Return Value

the type of an element reference

Parameters

Name Description
ptr The right operand

Created with MrDocs