ValueReader used for simple scalar types and related,
not including POJO-, java.util.Map and java.util.Collection
types.
| Modifier and Type | Field and Description |
|---|---|
| protected final int | |
| private static final double[] | |
| private static final int[] | |
| private static final long[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected long | |
| protected byte[] | |
| protected double[] | |
| protected int[] | |
| protected long[] | |
| protected Path | |
| public Object | |
| public Object | readNext(JSONReader reader, JsonParser p)
Overrides tools. Method called to deserialize value of type supported by this reader, using given parser. |
| _typeId | back to summary |
|---|---|
| protected final int _typeId | |
| NO_DOUBLES | back to summary |
|---|---|
| private static final double[] NO_DOUBLES | |
| NO_INTS | back to summary |
|---|---|
| private static final int[] NO_INTS | |
| NO_LONGS | back to summary |
|---|---|
| private static final long[] NO_LONGS | |
| SimpleValueReader | back to summary |
|---|---|
| public SimpleValueReader(Class<?> raw, int typeId) | |
| _fetchLong | back to summary |
|---|---|
| protected long _fetchLong(JsonParser p) throws JacksonException | |
| _readBinary | back to summary |
|---|---|
| protected byte[] _readBinary(JsonParser p) throws JacksonException | |
| _readDoubleArray | back to summary |
|---|---|
| protected double[] _readDoubleArray(JsonParser p) throws JacksonException | |
| _readIntArray | back to summary |
|---|---|
| protected int[] _readIntArray(JsonParser p) throws JacksonException | |
| _readLongArray | back to summary |
|---|---|
| protected long[] _readLongArray(JsonParser p) throws JacksonException | |
| _readPath | back to summary |
|---|---|
| protected Path _readPath(JsonParser p) throws JacksonException | |
| read | back to summary |
|---|---|
| public Object read(JSONReader reader, JsonParser p) throws JacksonException Implements abstract tools.
| |
| readNext | back to summary |
|---|---|
| public Object readNext(JSONReader reader, JsonParser p) throws JacksonException Overrides tools. Doc from tools. Method called to deserialize value of type supported by this reader, using given parser. Parser is not yet positioned to the (first) token of the value to read and needs to be advanced.
Default implementation simply calls `p.nextToken()` first, then calls
{#link
| |