getNestedText

fun getNestedText(jsonNode: JsonNode, vararg childNodes: String): String

Get the text from nested child node(s).

Return

The text from the requested child node(s).

Author

Griefed

Parameters

jsonNode

The JsonNode from which to acquire the text from.

childNodes

The child nodes which contain the requested text, in order.

Throws

if the requested element is not present in the JsonNode.