public class ShapeDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<Shape>
Modifier and Type | Field and Description |
---|---|
SpatialContext |
ctx |
Constructor and Description |
---|
ShapeDeserializer() |
ShapeDeserializer(SpatialContext ctx) |
Modifier and Type | Method and Description |
---|---|
Shape |
deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
Shape |
read(com.fasterxml.jackson.core.JsonParser jp,
ShapeFactory factory) |
Shape |
read(com.fasterxml.jackson.databind.node.ObjectNode node,
ShapeFactory factory) |
Point |
readPoint(com.fasterxml.jackson.databind.node.ArrayNode arr,
ShapeFactory factory) |
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializer
public final SpatialContext ctx
public ShapeDeserializer()
public ShapeDeserializer(SpatialContext ctx)
public Point readPoint(com.fasterxml.jackson.databind.node.ArrayNode arr, ShapeFactory factory)
public Shape read(com.fasterxml.jackson.databind.node.ObjectNode node, ShapeFactory factory) throws IOException
IOException
public Shape read(com.fasterxml.jackson.core.JsonParser jp, ShapeFactory factory) throws IOException
IOException
public Shape deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
deserialize
in class com.fasterxml.jackson.databind.JsonDeserializer<Shape>
IOException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2020 LocationTech. All rights reserved.