getNestedTexts

fun getNestedTexts(jsonNode: JsonNode, split: String, vararg childNodes: String): Array<String>

Get the array of texts from the nested child node(s) comma-separated text.

Return

An array of strings containing the texts from the specified node(s)

Author

Griefed

Parameters

jsonNode

The JsonNode from which to acquire the texts from.

split

The character by which to split the text of the last child node into an array with.

childNodes

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

Throws

if the requested element is not present in the JsonNode.