1 #ifndef SIMDJSON_GENERIC_ONDEMAND_OBJECT_ITERATOR_H
3 #ifndef SIMDJSON_CONDITIONAL_INCLUDE
4 #define SIMDJSON_GENERIC_ONDEMAND_OBJECT_ITERATOR_H
5 #include "simdjson/generic/ondemand/base.h"
6 #include "simdjson/generic/implementation_simdjson_result_base.h"
7 #include "simdjson/generic/ondemand/value_iterator.h"
11 namespace SIMDJSON_IMPLEMENTATION {
31 simdjson_inline
bool operator==(const
object_iterator &) const noexcept;
33 simdjson_inline
bool operator!=(const
object_iterator &) const noexcept;
44 value_iterator iter{};
A JSON field (key/value pair) in an object.
simdjson_inline object_iterator() noexcept=default
Create a new invalid object_iterator.
A forward-only JSON object field iterator.
The top level simdjson namespace, containing everything the library provides.
error_code
All possible errors returned by simdjson.
The result of a simdjson operation that could fail.
The result of a simdjson operation that could fail.
simdjson_inline error_code error() const noexcept
The error.
simdjson_inline T & value() &noexcept(false)
Get the result value.