com.targomo.client.api.json.DefaultSourceAddressMapDeserializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Java client library for easy usage of Targomo web services.
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