class new in Git master
#include <Corrade/Utility/Json.h>
JsonObjectIterator JSON object iterator.
Iterator for JsonObjectView, which is returned from Json::
Public functions
- auto operator==(const JsonObjectIterator& other) const -> bool
- Equality comparison.
- auto operator!=(const JsonObjectIterator& other) const -> bool
- Non-equality comparison.
- auto operator++() -> JsonObjectIterator&
- Advance to next position.
- auto operator*() const -> JsonObjectItem
- Dereference.
Function documentation
JsonObjectIterator& Corrade:: Utility:: JsonObjectIterator:: operator++()
Advance to next position.
Expects that the iterator is not at the end of the token stream. It's however not possible to detect advancing outside of the iterated object, such iterators have undefined behavior. Implemented using JsonToken::
JsonObjectItem Corrade:: Utility:: JsonObjectIterator:: operator*() const
Dereference.
Expects that the iterator is not at the end of the token stream. It's however not possible to detect advancing outside of the iterated object, dereferencing such iterators has undefined behavior.