Class PeriodDeserializer
java.lang.Object
cz.cvut.kbss.jsonld.deserialization.datetime.PeriodDeserializer
- All Implemented Interfaces:
Configurable,ValueDeserializer<Period>
Deserializes JSON values to
Period.
The value is expected to be an ISO 8601-formatted string.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(jakarta.json.JsonValue jsonNode, DeserializationContext<Period> ctx) Deserializes the specified JSON-LD node.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cz.cvut.kbss.jsonld.deserialization.ValueDeserializer
configure
-
Constructor Details
-
PeriodDeserializer
public PeriodDeserializer()
-
-
Method Details
-
deserialize
Description copied from interface:ValueDeserializerDeserializes the specified JSON-LD node.- Specified by:
deserializein interfaceValueDeserializer<Period>- Parameters:
jsonNode- JSON-LD node to deserializectx- Deserialization context- Returns:
- Deserialized object
-