List of usage examples for com.google.gson JsonDeserializer interface-usage
From source file at.pcgamingfreaks.Message.MessageComponent.java
@SuppressWarnings("unchecked") public abstract class MessageComponent<T extends MessageComponent, STYLES extends Enum> implements JsonDeserializer<T> { //region JSON Variables protected MessageClickEvent clickEvent = null; protected MessageHoverEvent hoverEvent = null;
From source file augsburg.se.alltagsguide.serialization.EventPageSerializer.java
/** * Created by Daniel-L on 20.09.2015. */ public class EventPageSerializer implements JsonDeserializer<List<EventPage>> { @NonNull @Override
From source file augsburg.se.alltagsguide.serialization.LanguageSerializer.java
/** * Created by Daniel-L on 20.09.2015. */ public class LanguageSerializer implements JsonDeserializer<List<Language>> { @NonNull
From source file augsburg.se.alltagsguide.serialization.LocationSerializer.java
/** * Created by Daniel-L on 20.09.2015. */ public class LocationSerializer implements JsonDeserializer<List<Location>> { @NonNull @Override
From source file augsburg.se.alltagsguide.serialization.PageSerializer.java
/** * Created by Daniel-L on 20.09.2015. */ public class PageSerializer implements JsonDeserializer<List<Page>> { @Override
From source file be.ugent.tiwi.sleroux.newsrec.recommendationstester.CustomDeserializer.java
/** * * @author Sam Leroux <sam.leroux@ugent.be> */ public class CustomDeserializer implements JsonDeserializer<NewsItemCluster> {
From source file bot.parser.TelegramUpdateDeserializer.java
public class TelegramUpdateDeserializer implements JsonDeserializer<Update> { @Override public Update deserialize(JsonElement je, Type type, JsonDeserializationContext jdc) throws JsonParseException { Update u = new Update();
From source file br.com.bean.Utilitarios.CollectionDeserializer.java
public class CollectionDeserializer implements JsonDeserializer<Collection<?>> { @Override public Collection<?> deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { Type realType = ((ParameterizedType) typeOfT).getActualTypeArguments()[0];
From source file br.com.caelum.vraptor.serialization.gson.CalendarGsonConverter.java
/**
* Deserialize {@link Calendar} using ISO8601 format. This class must be in {@link Dependent} to allow us to
* discover generic type.
*
* @author Otvio Garcia
* @since 4.0.0
From source file br.com.caelum.vraptor.serialization.gson.DateGsonConverter.java
/**
* Deserialize {@link Date} using ISO8601 format.
* This class must be in {@link Dependent} to allow us to discover generic type.
*
* @author Rodrigo Turini
* @since 4.0.0