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 co.aurasphere.botmill.kik.util.json.CalendarSerializer.java

/**
 * Class that handles the serialization of a Calendar using the Kik date
 * format (YYYY-MM-DDThh:mm).
 * 
 * @author Alvin P. Reyes
 * 

From source file co.aurasphere.botmill.kik.util.json.EnumLowercaseSerializer.java

/**
 * The Class EnumLowercaseSerializer.
 * 
 * @author Alvin P. Reyes
 */
public class EnumLowercaseSerializer implements JsonSerializer<Enum<?>> {

From source file co.aurasphere.botmill.skype.util.json.CalendarSerializer.java

/**
 * Class that handles the serialization of a Calendar using the Kik date
 * format (YYYY-MM-DDThh:mm).
 * 
 * @author Alvin P. Reyes
 * 

From source file co.aurasphere.botmill.skype.util.json.EnumLowercaseSerializer.java

/**
 * The Class EnumLowercaseSerializer.
 * 
 * @author Alvin P. Reyes
 */
public class EnumLowercaseSerializer implements JsonSerializer<Enum<?>> {

From source file co.aurasphere.botmill.util.EnumLowercaseSerializer.java

/**
 * The Class EnumLowercaseSerializer.
 */
public class EnumLowercaseSerializer implements JsonSerializer<Enum<?>> {

    /* (non-Javadoc)

From source file co.cask.cdap.api.dataset.lib.ConditionCodec.java

/**
 * Codec used to serialize and deserialize {@link PartitionFilter.Condition}s.
 */
public class ConditionCodec extends ComparableCodec
        implements JsonSerializer<PartitionFilter.Condition>, JsonDeserializer<PartitionFilter.Condition> {

From source file co.cask.cdap.api.dataset.lib.partitioned.PartitionKeyCodec.java

/**
 * Codec used to serialize and deserialize {@link PartitionKey}s.
 */
public class PartitionKeyCodec extends ComparableCodec
        implements JsonSerializer<PartitionKey>, JsonDeserializer<PartitionKey> {

From source file co.cask.cdap.common.zookeeper.coordination.DiscoverableCodec.java

/**
 * A Gson codec for {@link Discoverable}.
 *
 * NOTE: This class may move to different package when needed.
 */
public class DiscoverableCodec implements JsonSerializer<Discoverable>, JsonDeserializer<Discoverable> {

From source file co.cask.cdap.common.zookeeper.coordination.ResourceAssignmentTypeAdapter.java

/**
 * The Gson codec for {@link ResourceAssignment}.
 */
class ResourceAssignmentTypeAdapter
        implements JsonSerializer<ResourceAssignment>, JsonDeserializer<ResourceAssignment> {

From source file co.cask.cdap.common.zookeeper.coordination.ServiceDiscoveredCodec.java

/**
 * A Gson codec for {@link org.apache.twill.discovery.ServiceDiscovered}
 */
public class ServiceDiscoveredCodec implements JsonSerializer<ServiceDiscovered> {

    @Override