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.continuuity.weave.internal.json.StateNodeCodec.java

/**
 *
 */
public final class StateNodeCodec implements JsonSerializer<StateNode>, JsonDeserializer<StateNode> {

    @Override

From source file com.continuuity.weave.internal.json.WeaveRunnableSpecificationCodec.java

/**
 *
 */
final class WeaveRunnableSpecificationCodec
        implements JsonSerializer<WeaveRunnableSpecification>, JsonDeserializer<WeaveRunnableSpecification> {

From source file com.continuuity.weave.internal.json.WeaveRunResourcesCodec.java

/**
 * Codec for serializing and deserializing a {@link WeaveRunResources} object using json.
 */
public final class WeaveRunResourcesCodec
        implements JsonSerializer<WeaveRunResources>, JsonDeserializer<WeaveRunResources> {

From source file com.continuuity.weave.internal.json.WeaveSpecificationCodec.java

/**
 * An implementation of gson serializer/deserializer {@link WeaveSpecification}.
 */
final class WeaveSpecificationCodec
        implements JsonSerializer<WeaveSpecification>, JsonDeserializer<WeaveSpecification> {

From source file com.continuuity.weave.internal.logging.LogEntryDecoder.java

/**
 * A {@link com.google.gson.Gson} decoder for {@link LogEntry}.
 */
public final class LogEntryDecoder implements JsonDeserializer<LogEntry> {

    @Override

From source file com.coviu.core.JSON.java

class DateAdapter implements JsonSerializer<Date>, JsonDeserializer<Date> {
    private final ApiClient apiClient;

    /**
     * Constructor for DateAdapter
     *

From source file com.crowdmap.java.sdk.json.DateDeserializer.java

public class DateDeserializer implements JsonDeserializer<Date> {

    private static final SimpleDateFormat PARSER = new SimpleDateFormat(DATE_FORMAT, Locale.US);

    @Override
    public Date deserialize(JsonElement arg0, Type arg1, JsonDeserializationContext arg2)

From source file com.crowdmap.java.sdk.json.UsersDeserializer.java

/**
 * Deserialize users based on what's returned.
 */
public class UsersDeserializer implements JsonDeserializer<List<User>> {

    @Override

From source file com.dabay6.libraries.androidshared.json.DateDeserializer.java

/**
 * DateDeserializer
 * <p>
 * Can be used to serialize WCF formatted dates into Java dates.
 * </p>
 *

From source file com.darkfalcon.java.gson.ByteArrayToBase64TypeAdapter.java

/**
 *
 * @author Darkfalcon
 */
public class ByteArrayToBase64TypeAdapter implements JsonSerializer<byte[]>, JsonDeserializer<byte[]> {