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, _tokenDesc
protected 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 ValueReader
IOException
public Object read(JSONReader reader, JsonParser p) throws IOException
read
in class ValueReader
IOException
protected byte[] _readBinary(JsonParser p) throws IOException
IOException
protected int[] _readIntArray(JsonParser p) throws IOException
IOException
protected long _fetchLong(JsonParser p) throws IOException
IOException
Copyright © 2014–2015 FasterXML. All rights reserved.