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

com.targomo.client.api.json.DefaultSourceAddressMapDeserializer 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.DefaultSourceAddress;

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

/**
 * Created by Gideon Cohen
 */

public class DefaultSourceAddressMapDeserializer extends AbstractLocationMapDeserializer {

    public DefaultSourceAddressMapDeserializer() {}

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy