Class JsonObjectIterator

  • All Implemented Interfaces:
    Iterator<javax.json.stream.JsonParser.Event>

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

      • next

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

        public boolean hasNext()
      • getValue

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

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