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);
|
Warning
|
Deprecated: Since 3.11.0; use basic_json::json_pointer or nlohmann::json_pointer<basic_json::string_t>. Use of this entity is allowed but discouraged. |
Return Value
the type of an element reference
Parameters
Name |
Description |
ptr |
The right operand |
Created with MrDocs