Corrade::Utility::JsonArrayItem class new in Git master

JSON array item.

Returned when iterating JsonToken::asObject(). See Iterating objects and arrays for more information.

Public types

using KeyType = std::size_t
Key type.

Constructors, destructors, conversion operators

operator const JsonToken&() const
Value.

Public functions

auto index() const -> std::size_t
Array index.
auto value() const -> const JsonToken&
Value.

Typedef documentation

typedef std::size_t Corrade::Utility::JsonArrayItem::KeyType

Key type.

Used by JsonView::find() and JsonView::operator[]().