public class GeometrySerializer
extends com.fasterxml.jackson.databind.JsonSerializer<org.locationtech.jts.geom.Geometry>
| Constructor and Description |
|---|
GeometrySerializer() |
| Modifier and Type | Method and Description |
|---|---|
Class<org.locationtech.jts.geom.Geometry> |
handledType() |
void |
serialize(org.locationtech.jts.geom.Geometry value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
void |
writeGeometry(com.fasterxml.jackson.core.JsonGenerator jgen,
org.locationtech.jts.geom.Geometry value) |
public void serialize(org.locationtech.jts.geom.Geometry value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
throws IOException,
com.fasterxml.jackson.core.JsonProcessingException
serialize in class com.fasterxml.jackson.databind.JsonSerializer<org.locationtech.jts.geom.Geometry>IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic void writeGeometry(com.fasterxml.jackson.core.JsonGenerator jgen,
org.locationtech.jts.geom.Geometry value)
throws com.fasterxml.jackson.core.JsonGenerationException,
IOException
com.fasterxml.jackson.core.JsonGenerationExceptionIOExceptionpublic Class<org.locationtech.jts.geom.Geometry> handledType()
handledType in class com.fasterxml.jackson.databind.JsonSerializer<org.locationtech.jts.geom.Geometry>Copyright © 2020. All rights reserved.