Class JsonObjectIterator
- java.lang.Object
-
- org.eclipse.yasson.internal.jsonstructure.JsonObjectIterator
-
- All Implemented Interfaces:
java.util.Iterator<javax.json.stream.JsonParser.Event>
public class JsonObjectIterator extends java.lang.ObjectIterates overJsonObjectmanaging internal state.
-
-
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 java.lang.StringgetKey()Current key this iterator is pointing at.javax.json.JsonValuegetValue()JsonValuefor current key.booleanhasNext()javax.json.stream.JsonParser.Eventnext()
-
-
-
Method Detail
-
next
public javax.json.stream.JsonParser.Event next()
-
hasNext
public boolean hasNext()
-
getValue
public javax.json.JsonValue getValue()
JsonValuefor current key.- Returns:
- Current JsonValue.
-
getKey
public java.lang.String getKey()
Current key this iterator is pointing at.- Returns:
- Current key.
-
-