Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

JsonNodeIterator

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.

This site is scheduled for a small content update on Tuesday, December 18th, between the hours of 4:00pm and 8:00pm Pacific Time (Dec 19 00:00 – Dec 19 4:00 UTC). Access to this site may be slightly delayed during that time.