JsonNodeIterator

You get a JsonNodeIterator object by calling the getIterator() or iterator() methods of the JsonNode class.

JsonNodeIterator - hasNext()

Determines if there is another property available.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Boolean True if another property is available.

JsonNodeIterator - next()

Returns the next property in the iterator.

You cannot call next() without first calling hasNext().

Table 3. Parameters
Name Type Description
None
Table 4. Returns
Type Description
JsonNode The next JsonNode.