nestedTextEqualsIgnoreCase

fun nestedTextEqualsIgnoreCase(jsonNode: JsonNode, equalsIgnoreCase: String, vararg childNodes: String): Boolean

Check whether the text in specified child node(s) is equal to the specified text, case-insensitive.

Return

true if the texts are equal, case-insensitive.

Author

Griefed

Parameters

jsonNode

The JsonNode from which to acquire the text.

equalsIgnoreCase

The text to check with whether it is equal, case-insensitive.

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.