DeserializationContext needed to override certain
handlers.
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| public | XmlDeserializationContext(TokenStreamFactory tsf, DeserializerFactory deserializerFactory, DeserializerCache cache, DeserializationConfig config, FormatSchema schema, InjectableValues values)
|
| Modifier and Type | Method and Description |
|---|---|
| public String | extractScalarFromObject(JsonParser p, ValueDeserializer<?> deser, Class<?> scalarType)
Overrides tools. Method to call in case incoming shape is Object Value (and parser thereby
points to |
| public Object | readRootValue(JsonParser p, JavaType valueType, ValueDeserializer<Object> deser, Object valueToUpdate)
Overrides tools.
|
| _xmlTextElementName | back to summary |
|---|---|
| private final String _xmlTextElementName | |
| XmlDeserializationContext | back to summary |
|---|---|
| public XmlDeserializationContext(TokenStreamFactory tsf, DeserializerFactory deserializerFactory, DeserializerCache cache, DeserializationConfig config, FormatSchema schema, InjectableValues values) | |
| extractScalarFromObject | back to summary |
|---|---|
| public String extractScalarFromObject(JsonParser p, ValueDeserializer<?> deser, Class<?> scalarType) throws JacksonException Overrides tools. Doc from tools. Method to call in case incoming shape is Object Value (and parser thereby
points to
Note that expected behavior in case of extraction not succeeding changed in
Jackson 2.20: now
| |
| readRootValue | back to summary |
|---|---|
| public Object readRootValue(JsonParser p, JavaType valueType, ValueDeserializer<Object> deser, Object valueToUpdate) throws JacksonException Overrides tools.
| |