public class EncodedPolylineJSONSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<org.locationtech.jts.geom.Geometry>
Constructor and Description |
---|
EncodedPolylineJSONSerializer() |
Modifier and Type | Method and Description |
---|---|
Class<org.locationtech.jts.geom.Geometry> |
handledType() |
void |
serialize(org.locationtech.jts.geom.Geometry arg,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
public void serialize(org.locationtech.jts.geom.Geometry arg, 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>
IOException
com.fasterxml.jackson.core.JsonProcessingException
public Class<org.locationtech.jts.geom.Geometry> handledType()
handledType
in class com.fasterxml.jackson.databind.JsonSerializer<org.locationtech.jts.geom.Geometry>
Copyright © 2019. All rights reserved.