Class PathTypeDeserializer
- java.lang.Object
-
- org.eclipse.yasson.internal.serializer.AbstractValueTypeDeserializer<java.nio.file.Path>
-
- org.eclipse.yasson.internal.serializer.PathTypeDeserializer
-
- All Implemented Interfaces:
javax.json.bind.serializer.JsonbDeserializer<java.nio.file.Path>
public class PathTypeDeserializer extends AbstractValueTypeDeserializer<java.nio.file.Path>
-
-
Constructor Summary
Constructors Constructor Description PathTypeDeserializer(Customization customization)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.nio.file.Path
deserialize(java.lang.String jsonValue, Unmarshaller unmarshaller, java.lang.reflect.Type rtType)
Convert string value to object.-
Methods inherited from class org.eclipse.yasson.internal.serializer.AbstractValueTypeDeserializer
deserialize, getCustomization, getPropertyType
-
-
-
-
Constructor Detail
-
PathTypeDeserializer
public PathTypeDeserializer(Customization customization)
-
-
Method Detail
-
deserialize
protected java.nio.file.Path deserialize(java.lang.String jsonValue, Unmarshaller unmarshaller, java.lang.reflect.Type rtType)
Description copied from class:AbstractValueTypeDeserializer
Convert string value to object.- Overrides:
deserialize
in classAbstractValueTypeDeserializer<java.nio.file.Path>
- Parameters:
jsonValue
- Json value.unmarshaller
- Unmarshaller instance.rtType
- Runtime type.- Returns:
- Deserialized object.
-
-