Class URITypeSerializer
java.lang.Object
org.eclipse.yasson.internal.serializer.AbstractValueTypeSerializer<URI>
org.eclipse.yasson.internal.serializer.URITypeSerializer
- All Implemented Interfaces:
javax.json.bind.serializer.JsonbSerializer<URI>
Serializer for
URI type.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidserialize(URI obj, javax.json.stream.JsonGenerator generator, Marshaller marshaller) Serializes an object to JSON.Methods inherited from class org.eclipse.yasson.internal.serializer.AbstractValueTypeSerializer
getCustomization, serialize
-
Constructor Details
-
URITypeSerializer
Creates a new instance.- Parameters:
customization- Model customization.
-
-
Method Details
-
serialize
Description copied from class:AbstractValueTypeSerializerSerializes an object to JSON.- Specified by:
serializein classAbstractValueTypeSerializer<URI>- Parameters:
obj- Object to serialize.generator- JSON generator to use.marshaller- Marshaller.
-