public interface JsonParser extends Closeable
Modifier and Type | Interface and Description |
---|---|
static class |
JsonParser.Event |
Modifier and Type | Method and Description |
---|---|
void |
close() |
default JsonArray |
getArray() |
default Stream<JsonValue> |
getArrayStream() |
BigDecimal |
getBigDecimal() |
int |
getInt() |
JsonLocation |
getLocation() |
long |
getLong() |
default JsonObject |
getObject() |
default Stream<Map.Entry<String,JsonValue>> |
getObjectStream() |
String |
getString() |
default JsonValue |
getValue() |
default Stream<JsonValue> |
getValueStream() |
boolean |
hasNext() |
boolean |
isIntegralNumber() |
JsonParser.Event |
next() |
default void |
skipArray() |
default void |
skipObject() |
boolean hasNext()
JsonParser.Event next()
String getString()
boolean isIntegralNumber()
int getInt()
long getLong()
BigDecimal getBigDecimal()
JsonLocation getLocation()
void close()
close
in interface AutoCloseable
close
in interface Closeable
default JsonObject getObject()
default JsonValue getValue()
default JsonArray getArray()
default void skipArray()
default void skipObject()
Copyright © 2010 - 2020 Adobe. All Rights Reserved