Class CharacterTypeSerializer
- java.lang.Object
-
- org.eclipse.yasson.internal.serializer.AbstractValueTypeSerializer<Character>
-
- org.eclipse.yasson.internal.serializer.CharacterTypeSerializer
-
- All Implemented Interfaces:
javax.json.bind.serializer.JsonbSerializer<Character>
public class CharacterTypeSerializer extends AbstractValueTypeSerializer<Character>
Serializer forCharacter
type.- Author:
- David Kral
-
-
Field Summary
-
Fields inherited from class org.eclipse.yasson.internal.serializer.AbstractValueTypeSerializer
customization
-
-
Constructor Summary
Constructors Constructor Description CharacterTypeSerializer(Customization customization)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
serialize(Character obj, javax.json.stream.JsonGenerator generator, Marshaller marshaller)
-
Methods inherited from class org.eclipse.yasson.internal.serializer.AbstractValueTypeSerializer
serialize
-
-
-
-
Constructor Detail
-
CharacterTypeSerializer
public CharacterTypeSerializer(Customization customization)
Creates a new instance.- Parameters:
customization
- Model customization.
-
-
Method Detail
-
serialize
protected void serialize(Character obj, javax.json.stream.JsonGenerator generator, Marshaller marshaller)
- Specified by:
serialize
in classAbstractValueTypeSerializer<Character>
-
-