List of usage examples for com.google.gson JsonSerializer interface-usage
From source file com.SatanicSpider.Serialization.EntitySerializer.java
/** * * @author bryant */ public class EntitySerializer implements JsonSerializer<Entity>, JsonDeserializer<Entity> {
From source file com.sgcv.rest.jsf.web.cliente.util.DateTypeAdapter.java
/** * * @author alvarenga */ public class DateTypeAdapter implements JsonSerializer<Date>, JsonDeserializer<Date> {
From source file com.shakirov.dragonsofmugloar.controller.DragonClassSerializer.java
/** * * @author vadim.shakirov */ public class DragonClassSerializer implements JsonSerializer<Dragon> {
From source file com.sheepdog.mashmesh.json.AvailableTimePeriodAdapter.java
public class AvailableTimePeriodAdapter implements JsonSerializer<AvailableTimePeriod>, JsonDeserializer<AvailableTimePeriod> { @Override public AvailableTimePeriod deserialize(JsonElement element, Type type, JsonDeserializationContext context) throws JsonParseException { JsonObject object = element.getAsJsonObject();
From source file com.shengzhish.xyj.core.DateFormatter.java
/** * Formatter for date formats present in the GitHub v2 and v3 API. */ public class DateFormatter implements JsonDeserializer<Date>, JsonSerializer<Date> { private final DateFormat[] formats;
From source file com.sias.util.CustomDateJsonSerializer.java
/** * * @author Fernando */ public class CustomDateJsonSerializer implements JsonSerializer<Date>, JsonDeserializer<Date> {
From source file com.siso.app.utils.DateSerializer.java
/**
*
* description :
*
* @version 1.0
* @author Owater
From source file com.slx.funstream.utils.UserSerializer.java
public class UserSerializer implements JsonSerializer<CurrentUser>, JsonDeserializer<CurrentUser> { public static final String USER_ID = "id"; public static final String USER_NAME = "name"; public static final String USER_COLOR = "namecolor"; @Override
From source file com.socialtv.core.DateFormatter.java
/** * Formatter for date formats present in the GitHub v2 and v3 API. */ public class DateFormatter implements JsonDeserializer<Date>, JsonSerializer<Date> { private final DateFormat[] formats;
From source file com.softwaremagico.tm.json.ElementAdapter.java
public abstract class ElementAdapter<E extends Element<E>> implements JsonSerializer<E>, JsonDeserializer<E> { private final static String ID = "id"; private final static String LANGUAGE = "language"; protected String getElementId(JsonElement jsonElement) { JsonObject jsonObject = jsonElement.getAsJsonObject();