public class SimpleValueReader extends ValueReader
ValueReader used for simple scalar types and related.| Modifier and Type | Field and Description |
|---|---|
protected Class<?> |
_rawType |
protected int |
_typeId |
| Constructor and Description |
|---|
SimpleValueReader(int typeId,
Class<?> raw) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
_fetchLong(JsonParser p) |
protected byte[] |
_readBinary(JsonParser p) |
protected int[] |
_readIntArray(JsonParser p) |
Object |
read(JSONReader reader,
JsonParser p) |
Object |
readNext(JSONReader reader,
JsonParser p) |
_tokenDesc, _tokenDescprotected final int _typeId
protected final Class<?> _rawType
public SimpleValueReader(int typeId,
Class<?> raw)
public Object readNext(JSONReader reader, JsonParser p) throws IOException
readNext in class ValueReaderIOExceptionpublic Object read(JSONReader reader, JsonParser p) throws IOException
read in class ValueReaderIOExceptionprotected byte[] _readBinary(JsonParser p) throws IOException
IOExceptionprotected int[] _readIntArray(JsonParser p) throws IOException
IOExceptionprotected long _fetchLong(JsonParser p) throws IOException
IOExceptionCopyright © 2018 FasterXML. All rights reserved.