public class ShapeAsGeoJSONSerializer extends com.fasterxml.jackson.databind.JsonSerializer<Shape>
| Constructor and Description |
|---|
ShapeAsGeoJSONSerializer() |
| Modifier and Type | Method and Description |
|---|---|
static double |
round(double v) |
void |
serialize(Shape shape,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
protected void |
write(com.fasterxml.jackson.core.JsonGenerator gen,
double... coords) |
void |
write(com.fasterxml.jackson.core.JsonGenerator gen,
Shape shape) |
protected void write(com.fasterxml.jackson.core.JsonGenerator gen,
double... coords)
throws IOException
IOExceptionpublic static double round(double v)
public void write(com.fasterxml.jackson.core.JsonGenerator gen,
Shape shape)
throws IOException
IOExceptionpublic void serialize(Shape shape, 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<Shape>IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2025 LocationTech. All rights reserved.