Class JsonObjectIterator

java.lang.Object
org.eclipse.yasson.internal.jsonstructure.JsonObjectIterator
All Implemented Interfaces:
Iterator<jakarta.json.stream.JsonParser.Event>

public class JsonObjectIterator extends Object
Iterates over JsonObject managing internal state.
  • Method Details

    • next

      public jakarta.json.stream.JsonParser.Event next()
    • hasNext

      public boolean hasNext()
    • getValue

      public jakarta.json.JsonValue getValue()
      JsonValue for current key.
      Returns:
      Current JsonValue.
    • getKey

      public String getKey()
      Current key this iterator is pointing at.
      Returns:
      Current key.