Description

Gets the JsonVariant at the specified index.

Instead of this function, you can use JsonObject::operator[] which offers a more intuitive syntax.

Signature

JsonVariant get(size_t index) const;

Arguments

index: the index of the value in the array.

Return value

The JsonVariant at the specified index.

If the index is out of range, this function returns a null JsonVariant.

See also