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

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

Introduction

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

Usage

From source file com.zis.musapp.base.model.jsr310.ZonedDateTimeJsonConverter.java

/**
 * GSON serialiser/deserialiser for converting {@link ZonedDateTime} objects.
 */
public class ZonedDateTimeJsonConverter implements JsonSerializer<ZonedDateTime>, JsonDeserializer<ZonedDateTime> {
    /** Formatter. */
    private final DateTimeFormatter mDateTimeFormatter;

From source file concept.matcher.gson.MatcherSerializer.java

/**
 * Serializes matchers for gson library.
 *
 */
public class MatcherSerializer implements JsonSerializer<AbstractMatcher> {
    @Override

From source file Converter.PersonConverter.java

/**
 *
 * @author ??
 */

public class PersonConverter implements JsonSerializer<Person> { // ? ??

From source file cr.ac.una.prograiv.moviestar.domain.CatalogosAdapter.java

/**
 *
 * @author byron
 */
public class CatalogosAdapter implements JsonSerializer<Catalogos> {

From source file cr.ac.una.prograiv.moviestar.domain.CategoriasAdapter.java

/**
 *
 * @author Byron
 */
public class CategoriasAdapter implements JsonSerializer<Categorias> {
    @Override

From source file cr.ac.una.prograiv.moviestar.domain.DetallesAdapter.java

/**
 *
 * @author Byron
 */
public class DetallesAdapter implements JsonSerializer<Detalles> {

From source file Cyber.Utils.gSonArea.java

public class gSonArea implements JsonSerializer<Area>, JsonDeserializer<Area> {

    @Override
    public JsonElement serialize(Area t, Type type, JsonSerializationContext jsc) {
        JsonObject jo = new JsonObject();
        jo.addProperty("name", t.name);

From source file date.convertion.JsonDateDeserializer.java

/**
 *
 * @author Leandro
 */
public class JsonDateDeserializer implements JsonDeserializer<Date>, JsonSerializer<Date> {

From source file de.azapps.mirakel.sync.taskwarrior.model.TaskWarriorTaskSerializer.java

public class TaskWarriorTaskSerializer implements JsonSerializer<Task> {

    private static final String TAG = "TaskWarriorTaskSerializer";
    private final Context mContext;

    public TaskWarriorTaskSerializer(final Context ctx) {

From source file de.bwravencl.controllerbuddy.json.ActionTypeAdapter.java

public class ActionTypeAdapter implements JsonSerializer<IAction<?>>, JsonDeserializer<IAction<?>> {

    private static final Logger log = System.getLogger(ActionTypeAdapter.class.getName());

    private static final String PROPERTY_TYPE = "type";
    private static final String PROPERTY_DATA = "data";