| Modifier and Type | Field and Description |
|---|---|
| protected final Map | _aliasMapping
Mapping of aliased names to primary names (direct linkage unfortunately impractical due to implementation limits). |
| protected final BeanConstructors | |
| protected final Set | |
| protected final boolean | |
| protected final Map |
| Access | Constructor and Description |
|---|---|
| public | BeanReader(Class<?> type, Map<String, BeanPropertyReader> props, BeanConstructors constructors, Set<String> ignorableNames, Map<String, String> aliasMapping)
Constructors used for deserialization use case |
| public | BeanReader(Class<?> type, Map<String, BeanPropertyReader> props, Constructor<?> defaultCtor, Constructor<?> stringCtor, Constructor<?> longCtor, Set<String> ignorableNames, Map<String, String> aliasMapping)
Deprecated
|
| Modifier and Type | Method and Description |
|---|---|
| private final BeanPropertyReader | |
| protected IOException | |
| public BeanPropertyReader | |
| protected void | |
| public Map | |
| 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 used for deserialization; will read an instance of the bean type 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). 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. |
| private Object |
| _aliasMapping | back to summary |
|---|---|
| protected final Map<String, String> _aliasMapping Mapping of aliased names to primary names (direct linkage unfortunately impractical due to implementation limits).
| |
| _constructors | back to summary |
|---|---|
protected final BeanConstructors _constructors
| |
| _ignorableNames | back to summary |
|---|---|
| protected final Set<String> _ignorableNames | |
| _isRecordType | back to summary |
|---|---|
| protected final boolean _isRecordType | |
| _propsByName | back to summary |
|---|---|
| protected final Map<String, BeanPropertyReader> _propsByName | |
| BeanReader | back to summary |
|---|---|
| public BeanReader(Class<?> type, Map<String, BeanPropertyReader> props, BeanConstructors constructors, Set<String> ignorableNames, Map<String, String> aliasMapping) Constructors used for deserialization use case
| |
| BeanReader | back to summary |
|---|---|
| public BeanReader(Class<?> type, Map<String, BeanPropertyReader> props, Constructor<?> defaultCtor, Constructor<?> stringCtor, Constructor<?> longCtor, Set<String> ignorableNames, Map<String, String> aliasMapping)
Deprecated
| |
| _findAlias | back to summary |
|---|---|
| private final BeanPropertyReader _findAlias(String name) | |
| _reportProblem | back to summary |
|---|---|
| protected IOException _reportProblem(JsonParser p) | |
| findProperty | back to summary |
|---|---|
| public BeanPropertyReader findProperty(String name) | |
| handleUnknown | back to summary |
|---|---|
| protected void handleUnknown(JSONReader reader, JsonParser parser, String fieldName) throws IOException | |
| propertiesByName | back to summary |
|---|---|
| public Map | |
| read | back to summary |
|---|---|
| public Object read(JSONReader r, JsonParser p) throws IOException Implements abstract com. Method used for deserialization; will read an instance of the bean type using given parser.
| |
| 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
| |
| readRecord | back to summary |
|---|---|
| private Object readRecord(JSONReader r, JsonParser p) throws Exception | |