| 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. |
| public static String | _tokenDesc(JsonParser p, JsonToken t)
Helper method for getting description of given token for use in descriptions and exception messages. |
| public abstract Object | read(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 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) throws IOException Helper method for getting description of the token parser currently points to, for use in descriptions and exception messages. | |
| _tokenDesc | back to summary |
|---|---|
| public static String _tokenDesc(JsonParser p, JsonToken t) throws IOException Helper method for getting description of given token for use in descriptions and exception messages. | |
| read | back to summary |
|---|---|
| public abstract Object read(JSONReader reader, JsonParser p) throws IOException Method called to deserialize value of type supported by this reader, using given parser. Parser is already positioned to the (first) token of the value to read.
| |
| readNext | back to summary |
|---|---|
| public Object readNext(JSONReader reader, JsonParser p) throws IOException 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.
| |