Class URLTypeDeserializer
- java.lang.Object
-
- org.eclipse.yasson.internal.serializer.AbstractValueTypeDeserializer<java.net.URL>
-
- org.eclipse.yasson.internal.serializer.URLTypeDeserializer
-
- All Implemented Interfaces:
javax.json.bind.serializer.JsonbDeserializer<java.net.URL>
public class URLTypeDeserializer extends AbstractValueTypeDeserializer<java.net.URL>
Deserializer forURLtype.
-
-
Constructor Summary
Constructors Constructor Description URLTypeDeserializer(Customization customization)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.net.URLdeserialize(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
-
URLTypeDeserializer
public URLTypeDeserializer(Customization customization)
Creates a new instance.- Parameters:
customization- Model customization.
-
-
Method Detail
-
deserialize
protected java.net.URL deserialize(java.lang.String jsonValue, Unmarshaller unmarshaller, java.lang.reflect.Type rtType)Description copied from class:AbstractValueTypeDeserializerConvert string value to object.- Overrides:
deserializein classAbstractValueTypeDeserializer<java.net.URL>- Parameters:
jsonValue- Json value.unmarshaller- Unmarshaller instance.rtType- Runtime type.- Returns:
- Deserialized object.
-
-