Class LocationSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<Location>
de.eldoria.jacksonbukkit.serializer.LocationSerializer
- All Implemented Interfaces:
JsonFormatVisitable
Class for serialization of
Location
.-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
JsonSerializer.None
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(Location value, JsonGenerator gen, SerializerProvider serializers) Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId
-
Constructor Details
-
LocationSerializer
public LocationSerializer()
-
-
Method Details
-
serialize
public void serialize(Location value, JsonGenerator gen, SerializerProvider serializers) throws IOException - Specified by:
serialize
in classJsonSerializer<Location>
- Throws:
IOException
-