JsonNodeIterator

concept brazil Updated Sep 10, 2026 1 min read c_JsonNodeIteratorAPI.md
Raw file servicenow.com

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.

Name Type Description
None
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().

Name Type Description
None
Type Description
JsonNode The next JsonNode.
Search documentation
Search document titles and file paths on the brazil branch