Class StringTypeDeserializer
java.lang.Object
org.eclipse.yasson.internal.serializer.AbstractValueTypeDeserializer<String>
org.eclipse.yasson.internal.serializer.StringTypeDeserializer
- All Implemented Interfaces:
javax.json.bind.serializer.JsonbDeserializer<String>
Deserializer for
String
type.-
Constructor Summary
ConstructorDescriptionStringTypeDeserializer(Customization customization)
Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
deserialize(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 Details
-
StringTypeDeserializer
Creates a new instance.- Parameters:
customization
- Model customization.
-
-
Method Details
-
deserialize
Description copied from class:AbstractValueTypeDeserializer
Convert string value to object.- Overrides:
deserialize
in classAbstractValueTypeDeserializer<String>
- Parameters:
jsonValue
- Json value.unmarshaller
- Unmarshaller instance.rtType
- Runtime type.- Returns:
- Deserialized object.
-