JsonNode - getIterator(String xPath)

Returns a JsonNodeIterator object for the JSON content.

This method can only be used on the root node, but can be used to traverse deep into the JSON object. Subsequent traversals must use the iterator() method.

Table 1. Parameters
Name Type Description
xPath String An xPath expression.
Table 2. Returns
Type Description
JsonNodeIterator An object that can iterate over nodes in the JSON object.