Class GeometryAsWKTSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<org.locationtech.jts.geom.Geometry>
-
- org.locationtech.spatial4j.io.jackson.GeometryAsWKTSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public class GeometryAsWKTSerializer extends com.fasterxml.jackson.databind.JsonSerializer<org.locationtech.jts.geom.Geometry>
-
-
Constructor Summary
Constructors Constructor Description GeometryAsWKTSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(org.locationtech.jts.geom.Geometry value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers)
-
-
-
Method Detail
-
serialize
public void serialize(org.locationtech.jts.geom.Geometry value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<org.locationtech.jts.geom.Geometry>
- Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException
-
-