Module org.eclipse.yasson
Class JsonObjectIterator
- java.lang.Object
-
- org.eclipse.yasson.internal.jsonstructure.JsonObjectIterator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJsonObjectIterator.StateLocation pointer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKey()Current key this iterator is pointing at.jakarta.json.JsonValuegetValue()JsonValuefor current key.booleanhasNext()jakarta.json.stream.JsonParser.Eventnext()-
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 jakarta.json.stream.JsonParser.Event next()
-
hasNext
public boolean hasNext()
-
getValue
public jakarta.json.JsonValue getValue()
JsonValuefor current key.- Returns:
- Current JsonValue.
-
getKey
public String getKey()
Current key this iterator is pointing at.- Returns:
- Current key.
-
-