Project

General

Profile

Template
detail::internal_iterator< BasicJsonType > Struct Template Reference

an iterator value More...

#include <json.hpp>

Public Attributes

BasicJsonType::object_t::iterator object_iterator {}
 iterator for JSON objects
 
BasicJsonType::array_t::iterator array_iterator {}
 iterator for JSON arrays
 
primitive_iterator_t primitive_iterator {}
 generic iterator for all other types
 

Detailed Description

template<typename BasicJsonType>
struct detail::internal_iterator< BasicJsonType >

an iterator value

Note
This structure could easily be a union, but MSVC currently does not allow unions members with complex constructors, see https://github.com/nlohmann/json/pull/105.

Definition at line 12770 of file json.hpp.

Member Data Documentation

◆ array_iterator

template<typename BasicJsonType >
BasicJsonType::array_t::iterator detail::internal_iterator< BasicJsonType >::array_iterator {}

iterator for JSON arrays

Definition at line 12775 of file json.hpp.

◆ object_iterator

template<typename BasicJsonType >
BasicJsonType::object_t::iterator detail::internal_iterator< BasicJsonType >::object_iterator {}

iterator for JSON objects

Definition at line 12773 of file json.hpp.

◆ primitive_iterator

template<typename BasicJsonType >
primitive_iterator_t detail::internal_iterator< BasicJsonType >::primitive_iterator {}

generic iterator for all other types

Definition at line 12777 of file json.hpp.


The documentation for this struct was generated from the following file: