Example usage for com.fasterxml.jackson.databind JsonDeserializer subclass-usage

List of usage examples for com.fasterxml.jackson.databind JsonDeserializer subclass-usage

Introduction

In this page you can find the example usage for com.fasterxml.jackson.databind JsonDeserializer subclass-usage.

Usage

From source file org.springframework.social.twitter.api.impl.TweetDeserializer.java

/**
 * Custom Jackson deserializer for tweets. Tweets can't be simply mapped like other Twitter model objects because the JSON structure
 * varies between the search API and the timeline API. This deserializer determine which structure is in play and creates a tweet from it.
 * @author Craig Walls
 */
class TweetDeserializer extends JsonDeserializer<Tweet> {

From source file org.springframework.social.weibo.api.impl.json.TrendsDeserializer.java

public class TrendsDeserializer extends JsonDeserializer<SortedSet<Trends>> {

    private static final Log logger = LogFactory.getLog(TrendsDeserializer.class.getName());

    private static final Comparator<? super Trends> comparator = new Comparator<Trends>() {

From source file com.arpnetworking.jackson.BuilderDeserializer.java

/**
 * Deserialize JSON into an instance of a specified type <code>T</code> given a
 * builder that creates instances of that type (or a subtype). In order to use
 * this deserializer with an <code>ObjectMapper</code> be sure to register the
 * transitive closure of builder deserializers (e.g. type-builder pairs) that
 * are required to deserialize an instance of the root type.

From source file piazza.services.ingest.util.GeoJsonDeserializer.java

public class GeoJsonDeserializer extends JsonDeserializer<Geometry> {

    private GeometryFactory gf = new GeometryFactory();
    //   private final Logger log = LoggerFactory.getLogger(this.getClass());
    @Autowired
    private PiazzaLogger logger;

From source file com.google.gplus.serializer.util.GPlusActivityDeserializer.java

/**
 * Custom deserializer for GooglePlus' Person model
 */
public class GPlusActivityDeserializer extends JsonDeserializer<Activity> {
    private final static Logger LOGGER = LoggerFactory.getLogger(GPlusActivityDeserializer.class);

From source file com.xeiam.xchange.utils.jackson.SqlTimeDeserializer.java

/**
 * @author Matija Mazi
 */
public class SqlTimeDeserializer extends JsonDeserializer<Date> {

    private SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

From source file com.google.gplus.serializer.util.GPlusPersonDeserializer.java

/**
 * Custom deserializer for GooglePlus' Person model
 */
public class GPlusPersonDeserializer extends JsonDeserializer<Person> {
    private final static Logger LOGGER = LoggerFactory.getLogger(GPlusPersonDeserializer.class);

From source file com.codepine.api.testrail.internal.StringToMapDeserializer.java

/**
 * Deserializer string of form a,b\nc,d\ne,f to a map of form {a->b, c->d, e->f}.
 */
public class StringToMapDeserializer extends JsonDeserializer<Map<String, String>> {

    @Override

From source file org.openo.msb.wrapper.consul.util.Base64EncodingDeserializer.java

/**
 * For use with JSON fields that Consul Base 64 encodes.
 */
public class Base64EncodingDeserializer extends JsonDeserializer<Optional<String>> {

    /**

From source file de.upb.wdqa.wdvd.datamodel.oldjson.jackson.OldStatementRankDeserializer.java

public class OldStatementRankDeserializer extends JsonDeserializer<StatementRank> {

    @Override
    public StatementRank deserialize(JsonParser jp, DeserializationContext ctxt)
            throws IOException, JsonProcessingException {