Indexed

data class Indexed(val index: Int) : PathSegment(source)

Path segment representing an indexed element in an array.

This class isn't type-safe. Instead, see FieldDsl.get.

Constructors

Link copied to clipboard
constructor(index: Int)

Properties

Link copied to clipboard
val index: Int

Functions

Link copied to clipboard
open override fun toString(): String

Returns the string representation of this PathSegment. To obtain the representation of an entire Path, see Path.toString.