public class GeometryAsGeoJSONSerializer extends com.fasterxml.jackson.databind.JsonSerializer<Geometry>
Constructor and Description |
---|
GeometryAsGeoJSONSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
serialize(Geometry geom,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
protected void |
write(com.fasterxml.jackson.core.JsonGenerator gen,
Coordinate coord) |
protected void |
write(com.fasterxml.jackson.core.JsonGenerator gen,
Coordinate[] coord) |
protected void |
write(com.fasterxml.jackson.core.JsonGenerator gen,
CoordinateSequence coordseq) |
protected void |
write(com.fasterxml.jackson.core.JsonGenerator gen,
Polygon p) |
protected void write(com.fasterxml.jackson.core.JsonGenerator gen, Coordinate coord) throws IOException
IOException
protected void write(com.fasterxml.jackson.core.JsonGenerator gen, CoordinateSequence coordseq) throws IOException
IOException
protected void write(com.fasterxml.jackson.core.JsonGenerator gen, Coordinate[] coord) throws IOException
IOException
protected void write(com.fasterxml.jackson.core.JsonGenerator gen, Polygon p) throws IOException
IOException
public void serialize(Geometry geom, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
serialize
in class com.fasterxml.jackson.databind.JsonSerializer<Geometry>
IOException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2020 LocationTech. All rights reserved.