1 #ifndef SIMDJSON_GENERIC_ONDEMAND_ARRAY_ITERATOR_H
3 #ifndef SIMDJSON_CONDITIONAL_INCLUDE
4 #define SIMDJSON_GENERIC_ONDEMAND_ARRAY_ITERATOR_H
5 #include "simdjson/generic/implementation_simdjson_result_base.h"
6 #include "simdjson/generic/ondemand/base.h"
7 #include "simdjson/generic/ondemand/value_iterator.h"
12 namespace SIMDJSON_IMPLEMENTATION {
45 simdjson_inline
bool operator==(const
array_iterator &) const noexcept;
53 simdjson_inline
bool operator!=(const
array_iterator &) const noexcept;
62 value_iterator iter{};
64 simdjson_inline
array_iterator(
const value_iterator &iter) noexcept;
A forward-only JSON array.
simdjson_inline array_iterator() noexcept=default
Create a new, invalid array iterator.
A forward-only JSON array.
An ephemeral JSON value returned during iteration.
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.