Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
nlohmann Namespace Reference

namespace for Niels Lohmann More...

Namespaces

namespace  detail
 detail namespace with internal helper functions

Data Structures

struct  adl_serializer
 default JSONSerializer template argument More...
class  basic_json
 a class to store JSON values More...
class  byte_container_with_subtype
 an internal type for a backed binary type More...
class  json_pointer
 JSON Pointer defines a string syntax for identifying a specific value within a JSON document. More...
struct  json_sax
 SAX interface. More...
struct  ordered_map
 a minimal map-like container that preserves insertion order More...

Typedefs

using const_iterator = typename Container::const_iterator
using Container = std::vector<std::pair<const Key, T>, Allocator>
using iterator = typename Container::iterator
using json = basic_json<>
 default specialization
using mapped_type = T
using ordered_json = basic_json<nlohmann::ordered_map>
 specialization that maintains the insertion order of object keys
template<typename InputIt>
using require_input_iter
using size_type = typename Container::size_type
using value_type = typename Container::value_type

Functions

static BasicJsonType::size_type array_index (const std::string &s)
T & at (const Key &key)
return reference_tokens back ()
*brief remove last reference token *sa JSON pointer has no BasicJsonType ()))
*brief append another JSON pointer at the end of this JSON pointer *sa ptr reference_tokens begin ()
bool contains (const BasicJsonType *ptr) const
size_type count (const Key &key) const
std::pair< iterator, bool > emplace (const key_type &key, T &&t)
*brief create JSON pointer *sa reference_tokens end ()
size_type erase (const Key &key)
iterator erase (iterator first, iterator last)
iterator erase (iterator pos)
iterator find (const Key &key)
static void flatten (const std::string &reference_string, const BasicJsonType &value, BasicJsonType &result)
BasicJsonTypeget_and_create (BasicJsonType &j) const
 create and return a reference to the pointed to value
BasicJsonTypeget_checked (BasicJsonType *ptr) const
const BasicJsonTypeget_checked (const BasicJsonType *ptr) const
BasicJsonTypeget_unchecked (BasicJsonType *ptr) const
 return a reference to the pointed to value
const BasicJsonTypeget_unchecked (const BasicJsonType *ptr) const
 return a const reference to the pointed to value
std::pair< iterator, bool > insert (const value_type &value)
template<typename InputIt, typename = require_input_iter<InputIt>>
void insert (InputIt first, InputIt last)
std::pair< iterator, bool > insert (value_type &&value)
 NLOHMANN_CAN_CALL_STD_FUNC_IMPL (begin)
 NLOHMANN_CAN_CALL_STD_FUNC_IMPL (end)
bool operator!= (json_pointer const &lhs, json_pointer const &rhs) noexcept
 compares two JSON pointers for inequality
bool operator== (json_pointer const &lhs, json_pointer const &rhs) noexcept
 compares two JSON pointers for equality
T & operator[] (const Key &key)
 ordered_map (const Allocator &alloc=Allocator())
template<class It>
 ordered_map (It first, It last, const Allocator &alloc=Allocator())
 ordered_map (std::initializer_list< T > init, const Allocator &alloc=Allocator())
res pop_back ()
static std::vector< std::string > split (const std::string &reference_string)
 split the string input to reference tokens
static BasicJsonType unflatten (const BasicJsonType &value)

Variables

JSON_PRIVATE_UNLESS_TESTED __pad0__
*brief create JSON pointer *sa reference_tokens const std::string & a
class class Allocator
*brief create a new JSON pointer by appending the array index token at the end of the JSON pointer *sa std::size_t array_idx
*brief create JSON pointer *sa reference_tokens const std::string const std::string & b
*brief JSON Pointer defines a string syntax for identifying a specific value within a JSON document *sa https
ordered_map
*brief remove last reference token *sa JSON pointer has no parent
result reference_tokens = {reference_tokens[0]}
json_pointer res = *this
json_pointer result = *this
*brief create a new JSON pointer by appending the right JSON pointer at the end of the left JSON pointer *sa const json_pointerrhs
return * this
*brief create a new JSON pointer by appending the unescaped token at the end of the JSON pointer *sa std::string token

Detailed Description

namespace for Niels Lohmann

See also
https://github.com/nlohmann
Since
version 1.0.0

namespace to hold default to_json function to see why this is required: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4381.html

Typedef Documentation

◆ const_iterator

using nlohmann::const_iterator = typename Container::const_iterator

Definition at line 17045 of file json.hpp.

◆ Container

using nlohmann::Container = std::vector<std::pair<const Key, T>, Allocator>

Definition at line 17043 of file json.hpp.

◆ iterator

using nlohmann::iterator = typename Container::iterator

Definition at line 17044 of file json.hpp.

◆ json

default specialization

See also
https://json.nlohmann.me/api/json/

Definition at line 3337 of file json.hpp.

◆ mapped_type

Definition at line 17042 of file json.hpp.

◆ ordered_json

specialization that maintains the insertion order of object keys

See also
https://json.nlohmann.me/api/ordered_json/

Definition at line 3346 of file json.hpp.

◆ require_input_iter

template<typename InputIt>
using nlohmann::require_input_iter
Initial value:
typename std::enable_if<std::is_convertible<typename std::iterator_traits<InputIt>::iterator_category,
std::input_iterator_tag>::value>::type
const std::string invalid_return< std::string >::value

Definition at line 17234 of file json.hpp.

◆ size_type

using nlohmann::size_type = typename Container::size_type

Definition at line 17046 of file json.hpp.

◆ value_type

using nlohmann::value_type = typename Container::value_type

Definition at line 17047 of file json.hpp.

Function Documentation

◆ array_index()

BasicJsonType::size_type nlohmann::array_index ( const std::string & s)
staticprivate
Parameters
[in]sreference token to be converted into an array index
Returns
integer representation of s
Exceptions
parse_error.106if an array index begins with '0'
parse_error.109if an array index begins not with a digit
out_of_range.404if string s could not be converted to an integer
out_of_range.410if an array index exceeds size_type

Definition at line 12408 of file json.hpp.

References BasicJsonType(), nlohmann::detail::out_of_range::create(), nlohmann::detail::parse_error::create(), JSON_CATCH, JSON_HEDLEY_UNLIKELY, JSON_THROW, JSON_TRY, and res.

Referenced by nlohmann::detail::binary_writer< basic_json, CharType >::calc_bson_array_size(), contains(), get_and_create(), get_checked(), get_checked(), get_unchecked(), get_unchecked(), and nlohmann::detail::binary_writer< basic_json, CharType >::write_bson_array().

Here is the caller graph for this function:

◆ at()

const T & nlohmann::at ( const Key & key)

Definition at line 17081 of file json.hpp.

References begin(), end(), and JSON_THROW.

Referenced by nlohmann::detail::from_json_tuple_impl_base().

Here is the caller graph for this function:

◆ back()

return reference_tokens nlohmann::back ( )

References reference_tokens.

◆ BasicJsonType()

JSON_PRIVATE_UNLESS_TESTED JSON pointer has no nlohmann::BasicJsonType ( )

References nlohmann::detail::out_of_range::create().

Referenced by array_index(), nlohmann::detail::binary_writer< basic_json, CharType >::calc_bson_element_size(), nlohmann::detail::binary_writer< basic_json, CharType >::calc_bson_entry_header_size(), nlohmann::detail::external_constructor< value_t::array >::construct(), nlohmann::detail::external_constructor< value_t::array >::construct(), nlohmann::detail::external_constructor< value_t::array >::construct(), nlohmann::detail::external_constructor< value_t::array >::construct(), nlohmann::detail::external_constructor< value_t::array >::construct(), nlohmann::detail::external_constructor< value_t::binary >::construct(), nlohmann::detail::external_constructor< value_t::binary >::construct(), nlohmann::detail::external_constructor< value_t::boolean >::construct(), nlohmann::detail::external_constructor< value_t::number_float >::construct(), nlohmann::detail::external_constructor< value_t::number_integer >::construct(), nlohmann::detail::external_constructor< value_t::number_unsigned >::construct(), nlohmann::detail::external_constructor< value_t::object >::construct(), nlohmann::detail::external_constructor< value_t::object >::construct(), nlohmann::detail::external_constructor< value_t::object >::construct(), nlohmann::detail::external_constructor< value_t::string >::construct(), nlohmann::detail::external_constructor< value_t::string >::construct(), nlohmann::detail::external_constructor< value_t::string >::construct(), contains(), nlohmann::detail::invalid_iterator::create(), nlohmann::detail::other_error::create(), nlohmann::detail::out_of_range::create(), nlohmann::detail::parse_error::create(), nlohmann::detail::parse_error::create(), nlohmann::detail::type_error::create(), nlohmann::detail::exception::diagnostics(), nlohmann::detail::serializer< BasicJsonType >::dump(), flatten(), nlohmann::detail::serializer< BasicJsonType >::for(), nlohmann::adl_serializer< ValueType, typename >::from_json(), nlohmann::adl_serializer< ValueType, typename >::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json_array_impl(), nlohmann::detail::from_json_array_impl(), nlohmann::detail::from_json_array_impl(), nlohmann::detail::from_json_array_impl(), nlohmann::detail::from_json_inplace_array_impl(), nlohmann::detail::from_json_tuple_impl(), nlohmann::detail::from_json_tuple_impl(), nlohmann::detail::from_json_tuple_impl(), nlohmann::detail::from_json_tuple_impl(), nlohmann::detail::from_json_tuple_impl_base(), get_and_create(), nlohmann::detail::get_arithmetic_value(), nlohmann::detail::binary_reader< basic_json, InputType >::get_bson_binary(), nlohmann::detail::binary_reader< basic_json, InputType >::get_bson_string(), nlohmann::detail::binary_reader< basic_json, InputType >::get_cbor_binary(), nlohmann::detail::binary_reader< basic_json, InputType >::get_cbor_string(), get_checked(), get_checked(), nlohmann::detail::binary_reader< basic_json, InputType >::get_msgpack_string(), nlohmann::detail::binary_reader< basic_json, InputType >::get_ubjson_high_precision_number(), nlohmann::detail::binary_reader< basic_json, InputType >::get_ubjson_size_type(), nlohmann::detail::binary_reader< basic_json, InputType >::get_ubjson_size_value(), nlohmann::detail::binary_reader< basic_json, InputType >::get_ubjson_string(), nlohmann::detail::binary_reader< basic_json, InputType >::get_ubjson_value(), get_unchecked(), get_unchecked(), nlohmann::detail::json_sax_dom_callback_parser< BasicJsonType >::handle_value(), nlohmann::detail::json_sax_dom_parser< BasicJsonType >::handle_value(), nlohmann::detail::hash(), nlohmann::detail::json_sax_dom_callback_parser< BasicJsonType >::json_sax_dom_callback_parser(), nlohmann::detail::json_sax_dom_parser< BasicJsonType >::json_sax_dom_parser(), nlohmann::detail::json_sax_dom_callback_parser< BasicJsonType >::key(), nlohmann::detail::from_json_fn::operator()(), nlohmann::detail::to_json_fn::operator()(), nlohmann::detail::parser< BasicJsonType, InputAdapterType >::parse(), nlohmann::detail::binary_reader< basic_json, InputType >::parse_bson_element_internal(), nlohmann::detail::binary_reader< basic_json, InputType >::parse_cbor_internal(), nlohmann::detail::binary_reader< basic_json, InputType >::parse_msgpack_internal(), nlohmann::detail::binary_reader< basic_json, InputType >::sax_parse(), nlohmann::detail::parser< BasicJsonType, InputAdapterType >::sax_parse(), nlohmann::detail::parser< BasicJsonType, InputAdapterType >::sax_parse_internal(), split(), nlohmann::adl_serializer< ValueType, typename >::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json(), nlohmann::detail::to_json_tuple_impl(), nlohmann::detail::binary_writer< basic_json, CharType >::ubjson_prefix(), nlohmann::detail::binary_reader< basic_json, InputType >::unexpect_eof(), unflatten(), nlohmann::detail::binary_writer< basic_json, CharType >::write_bson(), nlohmann::detail::binary_writer< basic_json, CharType >::write_bson_element(), nlohmann::detail::binary_writer< basic_json, CharType >::write_bson_unsigned(), nlohmann::detail::binary_writer< basic_json, CharType >::write_cbor(), nlohmann::detail::binary_writer< basic_json, CharType >::write_msgpack(), nlohmann::detail::binary_writer< basic_json, CharType >::write_number_with_ubjson_prefix(), and nlohmann::detail::binary_writer< basic_json, CharType >::write_ubjson().

◆ begin()

◆ contains()

bool nlohmann::contains ( const BasicJsonType * ptr) const
private

◆ count()

size_type nlohmann::count ( const Key & key) const

Definition at line 17179 of file json.hpp.

References begin(), and end().

◆ emplace()

std::pair< iterator, bool > nlohmann::emplace ( const key_type & key,
T && t )

Definition at line 17058 of file json.hpp.

References begin(), and end().

Referenced by insert(), and operator[]().

Here is the caller graph for this function:

◆ end()

◆ erase() [1/3]

size_type nlohmann::erase ( const Key & key)

Definition at line 17107 of file json.hpp.

References begin(), and end().

Referenced by erase().

Here is the caller graph for this function:

◆ erase() [2/3]

iterator nlohmann::erase ( iterator first,
iterator last )

Definition at line 17131 of file json.hpp.

◆ erase() [3/3]

iterator nlohmann::erase ( iterator pos)

Definition at line 17126 of file json.hpp.

References erase().

◆ find()

const_iterator nlohmann::find ( const Key & key)

Definition at line 17191 of file json.hpp.

References begin(), and end().

◆ flatten()

void nlohmann::flatten ( const std::string & reference_string,
const BasicJsonType & value,
BasicJsonType & result )
staticprivate
Parameters
[in]reference_stringthe reference string to the current value
[in]valuethe value to consider
[in,out]resultthe result object to insert values to
Note
Empty objects or arrays are flattened to null.

Definition at line 12928 of file json.hpp.

References nlohmann::detail::array, BasicJsonType(), nlohmann::detail::binary, nlohmann::detail::boolean, nlohmann::detail::discarded, nlohmann::detail::escape(), flatten(), invalid_return< std::string >::value, nlohmann::detail::null, nlohmann::detail::number_float, nlohmann::detail::number_integer, nlohmann::detail::number_unsigned, nlohmann::detail::object, result, and nlohmann::detail::string.

Referenced by flatten().

Here is the caller graph for this function:

◆ get_and_create()

BasicJsonType & nlohmann::get_and_create ( BasicJsonType & j) const
private

create and return a reference to the pointed to value

@complexity Linear in the number of reference tokens.

Exceptions
parse_error.109if array index is not a number
type_error.313if value cannot be unflattened

Definition at line 12473 of file json.hpp.

References nlohmann::detail::array, array_index(), BasicJsonType(), nlohmann::detail::binary, nlohmann::detail::boolean, nlohmann::detail::type_error::create(), nlohmann::detail::discarded, JSON_THROW, nlohmann::detail::null, nlohmann::detail::number_float, nlohmann::detail::number_integer, nlohmann::detail::number_unsigned, nlohmann::detail::object, reference_tokens, result, and nlohmann::detail::string.

◆ get_checked() [1/2]

BasicJsonType & nlohmann::get_checked ( BasicJsonType * ptr) const
private
Exceptions
parse_error.106if an array index begins with '0'
parse_error.109if an array index was not a number
out_of_range.402if the array index '-' is used
out_of_range.404if the JSON pointer can not be resolved

Definition at line 12619 of file json.hpp.

References nlohmann::detail::array, array_index(), BasicJsonType(), nlohmann::detail::binary, nlohmann::detail::boolean, nlohmann::detail::out_of_range::create(), nlohmann::detail::discarded, JSON_HEDLEY_UNLIKELY, JSON_THROW, nlohmann::detail::null, nlohmann::detail::number_float, nlohmann::detail::number_integer, nlohmann::detail::number_unsigned, nlohmann::detail::object, reference_tokens, and nlohmann::detail::string.

◆ get_checked() [2/2]

const BasicJsonType & nlohmann::get_checked ( const BasicJsonType * ptr) const
private
Exceptions
parse_error.106if an array index begins with '0'
parse_error.109if an array index was not a number
out_of_range.402if the array index '-' is used
out_of_range.404if the JSON pointer can not be resolved

Definition at line 12724 of file json.hpp.

References nlohmann::detail::array, array_index(), BasicJsonType(), nlohmann::detail::binary, nlohmann::detail::boolean, nlohmann::detail::out_of_range::create(), nlohmann::detail::discarded, JSON_HEDLEY_UNLIKELY, JSON_THROW, nlohmann::detail::null, nlohmann::detail::number_float, nlohmann::detail::number_integer, nlohmann::detail::number_unsigned, nlohmann::detail::object, reference_tokens, and nlohmann::detail::string.

◆ get_unchecked() [1/2]

BasicJsonType & nlohmann::get_unchecked ( BasicJsonType * ptr) const
private

return a reference to the pointed to value

Note
This version does not throw if a value is not present, but tries to create nested values instead. For instance, calling this function with pointer "/this/that" on a null value is equivalent to calling operator[]("this").operator[]("that") on that value, effectively changing the null value to an object.
Parameters
[in]ptra JSON value
Returns
reference to the JSON value pointed to by the JSON pointer

@complexity Linear in the length of the JSON pointer.

Exceptions
parse_error.106if an array index begins with '0'
parse_error.109if an array index was not a number
out_of_range.404if the JSON pointer can not be resolved

Definition at line 12552 of file json.hpp.

References nlohmann::detail::array, array_index(), BasicJsonType(), nlohmann::detail::binary, nlohmann::detail::boolean, nlohmann::detail::out_of_range::create(), nlohmann::detail::discarded, JSON_THROW, nlohmann::detail::null, nlohmann::detail::number_float, nlohmann::detail::number_integer, nlohmann::detail::number_unsigned, nlohmann::detail::object, reference_tokens, and nlohmann::detail::string.

◆ get_unchecked() [2/2]

const BasicJsonType & nlohmann::get_unchecked ( const BasicJsonType * ptr) const
private

return a const reference to the pointed to value

Parameters
[in]ptra JSON value
Returns
const reference to the JSON value pointed to by the JSON pointer
Exceptions
parse_error.106if an array index begins with '0'
parse_error.109if an array index was not a number
out_of_range.402if the array index '-' is used
out_of_range.404if the JSON pointer can not be resolved

Definition at line 12676 of file json.hpp.

References nlohmann::detail::array, array_index(), BasicJsonType(), nlohmann::detail::binary, nlohmann::detail::boolean, nlohmann::detail::out_of_range::create(), nlohmann::detail::discarded, JSON_HEDLEY_UNLIKELY, JSON_THROW, nlohmann::detail::null, nlohmann::detail::number_float, nlohmann::detail::number_integer, nlohmann::detail::number_unsigned, nlohmann::detail::object, reference_tokens, and nlohmann::detail::string.

◆ insert() [1/3]

std::pair< iterator, bool > nlohmann::insert ( const value_type & value)

Definition at line 17220 of file json.hpp.

References begin(), end(), and invalid_return< std::string >::value.

◆ insert() [2/3]

template<typename InputIt, typename = require_input_iter<InputIt>>
void nlohmann::insert ( InputIt first,
InputIt last )

Definition at line 17238 of file json.hpp.

References insert().

◆ insert() [3/3]

std::pair< iterator, bool > nlohmann::insert ( value_type && value)

Definition at line 17215 of file json.hpp.

References emplace(), and invalid_return< std::string >::value.

Referenced by insert().

Here is the caller graph for this function:

◆ NLOHMANN_CAN_CALL_STD_FUNC_IMPL() [1/2]

nlohmann::NLOHMANN_CAN_CALL_STD_FUNC_IMPL ( begin )

References begin().

◆ NLOHMANN_CAN_CALL_STD_FUNC_IMPL() [2/2]

nlohmann::NLOHMANN_CAN_CALL_STD_FUNC_IMPL ( end )

References end().

◆ operator!=()

friend bool nlohmann::operator!= ( json_pointer const & lhs,
json_pointer const & rhs )
privatenoexcept

compares two JSON pointers for inequality

Parameters
[in]lhsJSON pointer to compare
[in]rhsJSON pointer to compare
Returns
whether lhs is not equal rhs

@complexity Linear in the length of the JSON pointer

@exceptionsafety No-throw guarantee: this function never throws exceptions.

Definition at line 13054 of file json.hpp.

References rhs.

◆ operator==()

friend bool nlohmann::operator== ( json_pointer const & lhs,
json_pointer const & rhs )
privatenoexcept

compares two JSON pointers for equality

Parameters
[in]lhsJSON pointer to compare
[in]rhsJSON pointer to compare
Returns
whether lhs is equal to rhs

@complexity Linear in the length of the JSON pointer

@exceptionsafety No-throw guarantee: this function never throws exceptions.

Definition at line 13037 of file json.hpp.

References rhs.

◆ operator[]()

const T & nlohmann::operator[] ( const Key & key)

Definition at line 17071 of file json.hpp.

References emplace().

◆ ordered_map() [1/3]

nlohmann::ordered_map ( const Allocator & alloc = Allocator())

Definition at line 17051 of file json.hpp.

References Allocator.

◆ ordered_map() [2/3]

template<class It>
nlohmann::ordered_map ( It first,
It last,
const Allocator & alloc = Allocator() )

Definition at line 17053 of file json.hpp.

References Allocator.

◆ ordered_map() [3/3]

nlohmann::ordered_map ( std::initializer_list< T > init,
const Allocator & alloc = Allocator() )

Definition at line 17055 of file json.hpp.

References Allocator.

◆ pop_back()

reference_tokens nlohmann::pop_back ( )

References res.

◆ split()

std::vector< std::string > nlohmann::split ( const std::string & reference_string)
staticprivate

split the string input to reference tokens

Note
This function is only called by the json_pointer constructor. All exceptions below are documented there.
Exceptions
parse_error.107if the pointer is not empty or begins with '/'
parse_error.108if character '~' is not followed by '0' or '1'

Definition at line 12860 of file json.hpp.

References BasicJsonType(), nlohmann::detail::parse_error::create(), JSON_ASSERT, JSON_HEDLEY_UNLIKELY, JSON_THROW, result, and nlohmann::detail::unescape().

◆ unflatten()

BasicJsonType nlohmann::unflatten ( const BasicJsonType & value)
staticprivate
Parameters
[in]valueflattened JSON
Returns
unflattened JSON
Exceptions
parse_error.109if array index is not a number
type_error.314if value is not an object
type_error.315if object values are not primitive
type_error.313if value cannot be unflattened

Definition at line 12999 of file json.hpp.

References BasicJsonType(), nlohmann::detail::type_error::create(), invalid_return< std::string >::value, JSON_HEDLEY_UNLIKELY, JSON_THROW, and result.

Variable Documentation

◆ __pad0__

JSON_PRIVATE_UNLESS_TESTED nlohmann::__pad0__
private

Definition at line 12451 of file json.hpp.

◆ a

*brief create JSON pointer *sa reference_tokens const std::string& nlohmann::a

Definition at line 12278 of file json.hpp.

Referenced by nlohmann::detail::exception::diagnostics().

◆ Allocator

class class nlohmann::Allocator
Initial value:
= std::allocator<std::pair<const Key, T>>>
struct ordered_map : std::vector<std::pair<const Key, T>
a minimal map-like container that preserves insertion order
Definition json.hpp:3342

Definition at line 17037 of file json.hpp.

Referenced by ordered_map(), ordered_map(), and ordered_map().

◆ array_idx

* brief create a new JSON pointer by appending the array index token at the end of the JSON pointer* sa std::size_t nlohmann::array_idx
Initial value:
{
return json_pointer(lhs) /= array_idx
JSON Pointer defines a string syntax for identifying a specific value within a JSON document.
Definition json.hpp:3331
*brief create a new JSON pointer by appending the array index token at the end of the JSON pointer *sa std::size_t array_idx
Definition json.hpp:12334

Definition at line 12333 of file json.hpp.

◆ b

*brief create JSON pointer *sa reference_tokens const std::string const std::string& nlohmann::b

◆ https

*brief user defined to_string function for JSON values *sa nlohmann::https

Definition at line 12257 of file json.hpp.

◆ ordered_map

* nlohmann::ordered_map

Definition at line 17035 of file json.hpp.

◆ parent

JSON_PRIVATE_UNLESS_TESTED JSON pointer has no nlohmann::parent

Definition at line 12358 of file json.hpp.

◆ reference_tokens

*the reference tokens std::vector< std::string > nlohmann::reference_tokens = {reference_tokens[0]}
private

◆ res

◆ result

return nlohmann::result = *this
private

Definition at line 12459 of file json.hpp.

Referenced by nlohmann::detail::binary_writer< basic_json, CharType >::calc_bson_array_size(), nlohmann::detail::binary_writer< basic_json, CharType >::calc_bson_object_size(), flatten(), get_and_create(), nlohmann::detail::binary_reader< basic_json, InputType >::get_binary(), nlohmann::detail::binary_reader< basic_json, InputType >::get_bson_binary(), nlohmann::detail::binary_reader< basic_json, InputType >::get_bson_string(), nlohmann::detail::binary_reader< basic_json, InputType >::get_cbor_binary(), nlohmann::detail::binary_reader< basic_json, InputType >::get_cbor_string(), nlohmann::detail::iterator_input_adapter< iterator_type >::get_character(), nlohmann::detail::binary_reader< basic_json, InputType >::get_msgpack_binary(), nlohmann::detail::binary_reader< basic_json, InputType >::get_msgpack_string(), nlohmann::detail::binary_reader< basic_json, InputType >::get_number(), nlohmann::detail::binary_reader< basic_json, InputType >::get_string(), nlohmann::detail::lexer< BasicJsonType, InputAdapterType >::get_token_string(), nlohmann::detail::binary_reader< basic_json, InputType >::get_ubjson_size_type(), nlohmann::detail::binary_reader< basic_json, InputType >::get_ubjson_size_value(), nlohmann::detail::binary_reader< basic_json, InputType >::get_ubjson_string(), nlohmann::detail::iter_impl< typename std::conditional< std::is_const< BasicJsonType >::value, typename std::remove_const< BasicJsonType >::type, const BasicJsonType >::type >::operator+(), nlohmann::detail::iter_impl< typename std::conditional< std::is_const< BasicJsonType >::value, typename std::remove_const< BasicJsonType >::type, const BasicJsonType >::type >::operator+, nlohmann::detail::primitive_iterator_t::operator+(), nlohmann::detail::iter_impl< typename std::conditional< std::is_const< BasicJsonType >::value, typename std::remove_const< BasicJsonType >::type, const BasicJsonType >::type >::operator++(), nlohmann::detail::primitive_iterator_t::operator++(), nlohmann::detail::iter_impl< typename std::conditional< std::is_const< BasicJsonType >::value, typename std::remove_const< BasicJsonType >::type, const BasicJsonType >::type >::operator-(), nlohmann::detail::iter_impl< typename std::conditional< std::is_const< BasicJsonType >::value, typename std::remove_const< BasicJsonType >::type, const BasicJsonType >::type >::operator--(), nlohmann::detail::primitive_iterator_t::operator--(), nlohmann::detail::parser< BasicJsonType, InputAdapterType >::parse(), nlohmann::detail::binary_reader< basic_json, InputType >::sax_parse(), nlohmann::detail::parser< BasicJsonType, InputAdapterType >::sax_parse(), split(), nlohmann::detail::binary_writer< basic_json, CharType >::to_char_type(), and unflatten().

◆ rhs

* brief create a new JSON pointer by appending the right JSON pointer at the end of the left JSON pointer* sa const json_pointer& nlohmann::rhs

◆ this

return * nlohmann::this

Definition at line 12298 of file json.hpp.

◆ token

* brief create a new JSON pointer by appending the unescaped token at the end of the JSON pointer* sa std::string nlohmann::token
Initial value:
{
return json_pointer(lhs) /= std::move(token)
*brief create a new JSON pointer by appending the unescaped token at the end of the JSON pointer *sa std::string token
Definition json.hpp:12327

Definition at line 12326 of file json.hpp.