| Modifier and Type | Field and Description |
|---|---|
| protected final Class | _valueType
Type of values this reader will read |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static String | _tokenDesc(JsonParser p)
Helper method for getting description of the token parser currently points to, for use in descriptions and exception messages. |
| protected static String | |
| protected String | _valueTypeDesc()
Helper method for getting description of type of values this reader produces from input: used for example in exception messages. |
| public abstract Object | |
| public Object | readNext(JSONReader
Context object that allows calling other read methods for contained
values of different types (for example for collection readers). reader, JsonParser Underlying parser used for reading decoded token stream p)Method called to deserialize value of type supported by this reader, using given parser. |
| public Class |
| _valueType | back to summary |
|---|---|
| protected final Class<?> _valueType Type of values this reader will read | |
| ValueReader | back to summary |
|---|---|
| protected ValueReader(Class<?> valueType) | |
| _tokenDesc | back to summary |
|---|---|
| public static String _tokenDesc(JsonParser p) Helper method for getting description of the token parser currently points to, for use in descriptions and exception messages. | |
| _tokenDesc | back to summary |
|---|---|
| protected static String _tokenDesc(JsonParser p, JsonToken t) | |
| _valueTypeDesc | back to summary |
|---|---|
| protected String _valueTypeDesc() Helper method for getting description of type of values this reader produces from input: used for example in exception messages. | |
| read | back to summary |
|---|---|
| public abstract Object read(JSONReader reader, JsonParser p) throws JacksonException | |
| readNext | back to summary |
|---|---|
| public Object readNext(JSONReader reader, JsonParser p) throws JacksonException 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
| |
| valueType | back to summary |
|---|---|
| public Class Accessor for non-generic (type-erased) type of values this reader produces from input.
| |