Class PathTypeSerializer
- java.lang.Object
-
- org.eclipse.yasson.internal.serializer.AbstractValueTypeSerializer<Path>
-
- org.eclipse.yasson.internal.serializer.PathTypeSerializer
-
- All Implemented Interfaces:
javax.json.bind.serializer.JsonbSerializer<Path>
public class PathTypeSerializer extends AbstractValueTypeSerializer<Path>
-
-
Constructor Summary
Constructors Constructor Description PathTypeSerializer(Customization customization)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
serialize(Path 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 Detail
-
PathTypeSerializer
public PathTypeSerializer(Customization customization)
-
-
Method Detail
-
serialize
protected void serialize(Path obj, javax.json.stream.JsonGenerator generator, Marshaller marshaller)
Description copied from class:AbstractValueTypeSerializer
Serializes an object to JSON.- Specified by:
serialize
in classAbstractValueTypeSerializer<Path>
- Parameters:
obj
- Object to serialize.generator
- JSON generator to use.marshaller
- Marshaller.
-
-