getNestedElement

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

Get a nested element from a JsonNode.

Return

The nested element from the JsonNode.

Author

Griefed

Parameters

jsonNode

The JsonNode from which to acquire the nested element.

childNodes

The nested elements, in order.

Throws

if the requested element is not present in the JsonNode.