Package org.bremersee.geojson
Class GeometryWrapper.Serializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<GeometryWrapper>
-
- org.bremersee.geojson.GeometryWrapper.Serializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
- Enclosing class:
- GeometryWrapper
protected static class GeometryWrapper.Serializer extends com.fasterxml.jackson.databind.JsonSerializer<GeometryWrapper>
Serializer for the GeoJSON geometry wrapper class.
- Author:
- Christian Bremer
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidserialize(GeometryWrapper value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider prov)voidserializeWithType(GeometryWrapper value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
-
-
-
Method Detail
-
serializeWithType
public void serializeWithType(GeometryWrapper value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) throws IOException
- Overrides:
serializeWithTypein classcom.fasterxml.jackson.databind.JsonSerializer<GeometryWrapper>- Throws:
IOException
-
serialize
public void serialize(GeometryWrapper value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider prov) throws IOException
- Specified by:
serializein classcom.fasterxml.jackson.databind.JsonSerializer<GeometryWrapper>- Throws:
IOException
-
-