public class JSONReader extends Object
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getBoolean() |
int |
getDepth() |
List<?> |
getList() |
Map<?,?> |
getMap() |
BigDecimal |
getNumber() |
String |
getString() |
<T> T |
getValue(Class<T> cls) |
Object |
getValue(Type type) |
JSONEventType |
next() |
void |
skipValue() |
public JSONEventType next() throws IOException
IOExceptionpublic <T> T getValue(Class<T> cls) throws IOException
IOExceptionpublic Object getValue(Type type) throws IOException
IOExceptionpublic Map<?,?> getMap() throws IOException
IOExceptionpublic List<?> getList() throws IOException
IOExceptionpublic String getString() throws IOException
IOExceptionpublic BigDecimal getNumber() throws IOException
IOExceptionpublic Boolean getBoolean() throws IOException
IOExceptionpublic void skipValue()
throws IOException
IOExceptionpublic int getDepth()