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