All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.targomo.client.api.json.DefaultSourceGeometriesMapDeserializer Maven / Gradle / Ivy

The newest version!
package com.targomo.client.api.json;

import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.targomo.client.api.geo.DefaultSourceGeometry;

import java.io.IOException;
import java.util.Map;

/**
 * @author gideon
 */
public class DefaultSourceGeometriesMapDeserializer extends AbstractLocationMapDeserializer {
    public DefaultSourceGeometriesMapDeserializer() {}

    @Override
    public Map deserialize(JsonParser jsonParser, DeserializationContext deserializationContext)
            throws IOException {
        return deserialize("id", jsonParser, DefaultSourceGeometry.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy