select Every
fun Optional<JsonElement, JsonElement>.selectEvery(selector: String): Traversal<JsonElement, JsonElement>(source)
fun Traversal<JsonElement, JsonElement>.selectEvery(selector: String): Traversal<JsonElement, JsonElement>(source)
Select values at selector. The following syntax is supported for selector:
without square brackets: select the property with that name,
['field']
: select the property with that name,*
: select all the fields or indices,[i]
, wherei
is a number: select the index in an array,[i,j,...]
wherei,j,...
are numbers: select the indices in an array,[start:end]
: select the indices fromstart
to (but not including)end
,[start:]
: select the indices fromstart
to the end of the array.