Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

JsonNodeIterator

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

Parent Topic:JSON APIs

JsonNodeIterator - hasNext()

Determines if there is another property available.

NameTypeDescription
None  
TypeDescription
BooleanTrue if another property is available.

JsonNodeIterator - next()

Returns the next property in the iterator.

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

NameTypeDescription
None  
TypeDescription
JsonNodeThe next JsonNode.