- java.lang.Object
-
- org.eclipse.yasson.internal.serializer.AbstractValueTypeSerializer<Path>
-
- org.eclipse.yasson.internal.serializer.PathTypeSerializer
-
- All Implemented Interfaces:
jakarta.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 voidserialize(Path obj, jakarta.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, jakarta.json.stream.JsonGenerator generator, Marshaller marshaller)
Description copied from class:AbstractValueTypeSerializerSerializes an object to JSON.- Specified by:
serializein classAbstractValueTypeSerializer<Path>- Parameters:
obj- Object to serialize.generator- JSON generator to use.marshaller- Marshaller.
-
-