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