Module org.eclipse.yasson
Class PeriodTypeDeserializer
- java.lang.Object
-
- org.eclipse.yasson.internal.serializer.AbstractValueTypeDeserializer<Period>
-
- org.eclipse.yasson.internal.serializer.PeriodTypeDeserializer
-
- All Implemented Interfaces:
jakarta.json.bind.serializer.JsonbDeserializer<Period>
public class PeriodTypeDeserializer extends AbstractValueTypeDeserializer<Period>
Deserializer forPeriodtype.
-
-
Constructor Summary
Constructors Constructor Description PeriodTypeDeserializer(Customization customization)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Perioddeserialize(String jsonValue, Unmarshaller unmarshaller, Type rtType)Convert string value to object.-
Methods inherited from class org.eclipse.yasson.internal.serializer.AbstractValueTypeDeserializer
deserialize, getCustomization, getPropertyType
-
-
-
-
Constructor Detail
-
PeriodTypeDeserializer
public PeriodTypeDeserializer(Customization customization)
Creates a new instance.- Parameters:
customization- Model customization.
-
-
Method Detail
-
deserialize
protected Period deserialize(String jsonValue, Unmarshaller unmarshaller, Type rtType)
Description copied from class:AbstractValueTypeDeserializerConvert string value to object.- Overrides:
deserializein classAbstractValueTypeDeserializer<Period>- Parameters:
jsonValue- Json value.unmarshaller- Unmarshaller instance.rtType- Runtime type.- Returns:
- Deserialized object.
-
-