Constructor and Description |
---|
GeometrySerializer(Context<P> context) |
Modifier and Type | Method and Description |
---|---|
void |
serialize(Geometry<P> geometry,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers)
Method that can be called to ask implementation to serialize
values of type this serializer handles.
|
public void serialize(Geometry<P> geometry, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers) throws IOException
serialize
in class com.fasterxml.jackson.databind.JsonSerializer<Geometry<P extends Position>>
geometry
- Geometry value to serialize; can not be null.gen
- Generator used to output resulting Json contentserializers
- Provider that can be used to get serializers forIOException
Copyright © 2018 geolatte.org. All rights reserved.