Interface ValueDeserializer<T>
- Type Parameters:
T
- Target type
- All Superinterfaces:
Configurable
- All Known Implementing Classes:
DateDeserializer
,DurationDeserializer
,InstantDeserializer
,LocalDateDeserializer
,LocalDateTimeDeserializer
,LocalTimeDeserializer
,OffsetDateTimeDeserializer
,OffsetTimeDeserializer
,PeriodDeserializer
,ZonedDateTimeDeserializer
Deserializes JSON-LD nodes to Java objects.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
configure
(Configuration config) Applies the specified configuration to this deserializer.deserialize
(jakarta.json.JsonValue jsonNode, DeserializationContext<T> ctx) Deserializes the specified JSON-LD node.
-
Method Details
-
deserialize
Deserializes the specified JSON-LD node.- Parameters:
jsonNode
- JSON-LD node to deserializectx
- Deserialization context- Returns:
- Deserialized object
-
configure
Applies the specified configuration to this deserializer.Should be called at the beginning of deserialization of JSON-LD content so that potential runtime changes in configuration can be reflected by the deserialization process.
Implementations are free to apply configuration on initialization and rely on the default implementation of this method which does nothing.
- Specified by:
configure
in interfaceConfigurable
- Parameters:
config
- Configuration to apply
-