11988 {
11989 JSON_ASSERT(m_object != nullptr);
11990
11991 switch (m_object->m_type)
11992 {
11994 {
11997 }
11998
12000 {
12003 }
12004
12013 default:
12014 {
12016 {
12017 return m_object;
12018 }
12019
12020 JSON_THROW(invalid_iterator::create(214, "cannot get value", *m_object));
12021 }
12022 }
12023 }
internal_iterator< typename std::remove_const< BasicJsonType >::type > m_it
the actual iterator of the associated instance
constexpr bool is_begin() const noexcept
return whether the iterator can be dereferenced
@ number_integer
number value (signed integer)
@ discarded
discarded by the parser callback function
@ binary
binary array (ordered collection of bytes)
@ object
object (unordered set of name/value pairs)
@ number_float
number value (floating-point)
@ number_unsigned
number value (unsigned integer)
@ array
array (ordered collection of values)
primitive_iterator_t primitive_iterator
generic iterator for all other types
BasicJsonType::array_t::iterator array_iterator
iterator for JSON arrays
BasicJsonType::object_t::iterator object_iterator
iterator for JSON objects