Package com.fasterxml.jackson.jr.ob.impl
Class SimpleValueReader
- java.lang.Object
-
- com.fasterxml.jackson.jr.ob.impl.ValueReader
-
- com.fasterxml.jackson.jr.ob.impl.SimpleValueReader
-
public class SimpleValueReader extends ValueReader
ValueReaderused for simple scalar types and related.
-
-
Constructor Summary
Constructors Constructor Description SimpleValueReader(int typeId, Class<?> raw)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long_fetchLong(com.fasterxml.jackson.core.JsonParser p)protected byte[]_readBinary(com.fasterxml.jackson.core.JsonParser p)protected int[]_readIntArray(com.fasterxml.jackson.core.JsonParser p)Objectread(JSONReader reader, com.fasterxml.jackson.core.JsonParser p)ObjectreadNext(JSONReader reader, com.fasterxml.jackson.core.JsonParser p)-
Methods inherited from class com.fasterxml.jackson.jr.ob.impl.ValueReader
_tokenDesc, _tokenDesc
-
-
-
-
Field Detail
-
_typeId
protected final int _typeId
-
_rawType
protected final Class<?> _rawType
-
-
Constructor Detail
-
SimpleValueReader
public SimpleValueReader(int typeId, Class<?> raw)
-
-
Method Detail
-
readNext
public Object readNext(JSONReader reader, com.fasterxml.jackson.core.JsonParser p) throws IOException
- Specified by:
readNextin classValueReader- Throws:
IOException
-
read
public Object read(JSONReader reader, com.fasterxml.jackson.core.JsonParser p) throws IOException
- Specified by:
readin classValueReader- Throws:
IOException
-
_readBinary
protected byte[] _readBinary(com.fasterxml.jackson.core.JsonParser p) throws IOException- Throws:
IOException
-
_readIntArray
protected int[] _readIntArray(com.fasterxml.jackson.core.JsonParser p) throws IOException- Throws:
IOException
-
_fetchLong
protected long _fetchLong(com.fasterxml.jackson.core.JsonParser p) throws IOException- Throws:
IOException
-
-