ValueReader used for "untyped" values; ones that are bound
to whatever java.lang.Object is the natural mapping to JSON
value that parser currently points to
| Modifier and Type | Field and Description |
|---|---|
| public static final AnyReader |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Object | fromBoolean(boolean b)
Method called to let implementation change a |
| protected Object | |
| protected String | |
| protected Object | |
| protected Object | fromString(String str)
Method called to let implementation change a |
| public Object | read(JSONReader
Context object that allows calling other read methods for contained
values of different types (for example for collection readers). r, JsonParser Underlying parser used for reading decoded token stream p)Implements abstract com. Method called to deserialize value of type supported by this reader, using given parser. |
| public Object[] | |
| public Collection | |
| public Map | |
| public Object | readNext(JSONReader
Context object that allows calling other read methods for contained
values of different types (for example for collection readers). r, JsonParser Underlying parser used for reading decoded token stream p)Overrides com. Method called to deserialize value of type supported by this reader, using given parser. |
| std | back to summary |
|---|---|
| public static final AnyReader std | |
| AnyReader | back to summary |
|---|---|
| public AnyReader() | |
| fromBoolean | back to summary |
|---|---|
| protected Object fromBoolean(boolean b) throws IOException Method called to let implementation change a | |
| fromEmbedded | back to summary |
|---|---|
| protected Object fromEmbedded(Object value) throws IOException | |
| fromKey | back to summary |
|---|---|
| protected String fromKey(String key) throws IOException Method called to let implementation change a key of an Object field after being parsed from input. Default implementation returns key as is. | |
| fromNull | back to summary |
|---|---|
| protected Object fromNull() throws IOException Method called to let implementation change a null value that has been read from input. Default implementation returns null as is. | |
| fromString | back to summary |
|---|---|
| protected Object fromString(String str) throws IOException Method called to let implementation change a | |
| read | back to summary |
|---|---|
| public Object read(JSONReader r, JsonParser p) throws IOException Implements abstract com. Doc from com. 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.
| |
| readArrayFromArray | back to summary |
|---|---|
| public Object[] readArrayFromArray(JSONReader r, JsonParser p, CollectionBuilder b) throws IOException | |
| readCollectionFromArray | back to summary |
|---|---|
| public Collection | |
| readFromObject | back to summary |
|---|---|
| public Map | |
| readNext | back to summary |
|---|---|
| public Object readNext(JSONReader r, JsonParser p) throws IOException Overrides com. Doc from com. 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
| |