Class JsonObjectIterator
- java.lang.Object
-
- org.eclipse.yasson.internal.jsonstructure.JsonObjectIterator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsonObjectIterator.State
Location pointer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
Current key this iterator is pointing at.javax.json.JsonValue
getValue()
JsonValue
for current key.boolean
hasNext()
javax.json.stream.JsonParser.Event
next()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
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.
-
-