Example usage for com.google.gson JsonDeserializer interface-usage

List of usage examples for com.google.gson JsonDeserializer interface-usage

Introduction

In this page you can find the example usage for com.google.gson JsonDeserializer interface-usage.

Usage

From source file com.github.frapontillo.categorize.wikipedia.rest.WikipediaResponseDeserializer.java

/**
 * @author Francesco Pontillo
 */
public class WikipediaResponseDeserializer implements JsonDeserializer<WikipediaResponse> {

    @Override

From source file com.github.frapontillo.pulse.crowd.sentiment.sentit.rest.SentitResultMapDeserializer.java

/**
 * @author Francesco Pontillo
 */
public class SentitResultMapDeserializer implements JsonDeserializer<SentitResponse.SentitResultMap> {
    @Override
    public SentitResponse.SentitResultMap deserialize(JsonElement json, Type typeOfT,

From source file com.github.frapontillo.pulse.crowd.tag.opencalais.rest.OpenCalaisErrorAdapter.java

/**
 * JSON converter from OpenCalais error to a {@link OpenCalaisError} class.
 *
 * @author Francesco Pontillo
 */
public class OpenCalaisErrorAdapter implements JsonDeserializer<OpenCalaisError> {

From source file com.github.frapontillo.pulse.crowd.tag.opencalais.rest.OpenCalaisResponseAdapter.java

/**
 * @author Francesco Pontillo
 */
public class OpenCalaisResponseAdapter implements JsonDeserializer<OpenCalaisResponse> {
    @Override
    public OpenCalaisResponse deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context)

From source file com.github.kevinsawicki.halligan.DefaultGsonFactory.java

/**
 * Default {@link Gson} factory that uses the {@link GsonBuilder} default
 * settings
 */
public class DefaultGsonFactory implements GsonFactory, JsonDeserializer<Link> {

From source file com.github.kyriosdata.regras.infraestrutura.ValorDeserializer.java

/**
 * Define processo de converso de "string" em instncia
 * de Valor.
 *
 * @see Valor
 */

From source file com.github.mfriedenhagen.artifactorygo.DateTimeDeserializer.java

/**
 *
 * @author Mirko Friedenhagen
 */
public class DateTimeDeserializer implements JsonDeserializer<DateTime> {

From source file com.github.mfriedenhagen.artifactorygo.MD5Deserializer.java

/**
 *
 * @author Mirko Friedenhagen
 */
public class MD5Deserializer implements JsonDeserializer<MD5> {

From source file com.github.mfriedenhagen.artifactorygo.Sha1Deserializer.java

/**
 *
 * @author Mirko Friedenhagen
 */
public class Sha1Deserializer implements JsonDeserializer<Sha1> {

From source file com.github.naios.wide.config.internal.LazyGsonAdapter.java

public class LazyGsonAdapter<T> implements JsonSerializer<T>, JsonDeserializer<T> {
    private final Function<JsonElement, T> set;

    private final Function<T, JsonElement> get;

    public LazyGsonAdapter(final Function<JsonElement, T> set, final Function<T, JsonElement> get) {