nestedTextIsEmpty

fun nestedTextIsEmpty(jsonNode: JsonNode, vararg childNodes: String): Boolean

Check whether the text in the specified child node(s) is empty.

Return

true if the text in the requested node is empty.

Author

Griefed

Parameters

jsonNode

The JsonNode from which to acquire the text.

childNodes

The nested nodes in the JsonNode to acquire the text from, in order.

Throws

if the requested element is not present in the JsonNode.