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.ghjansen.cas.ui.desktop.swing.SimulationParameterJsonAdapter.java

public class SimulationParameterJsonAdapter<T> implements JsonSerializer<T>, JsonDeserializer<T> {

    public final JsonElement serialize(final T object, final Type interfaceType,
            final JsonSerializationContext context) {
        UnidimensionalSimulationParameter parameter = (UnidimensionalSimulationParameter) object;
        final JsonObject member = new JsonObject();

From source file com.github.abel533.echarts.json.AxisDeserializer.java

/**
 * @author liuzh
 */
public class AxisDeserializer implements JsonDeserializer<Axis> {
    @Override
    /**

From source file com.github.abel533.echarts.json.SeriesDeserializer.java

/**
 * @author liuzh
 */
public class SeriesDeserializer implements JsonDeserializer<Series> {
    @Override
    /**

From source file com.github.autermann.matlab.json.MatlabExceptionSerializer.java

/**
 * {@link MatlabException} serializer.
 *
 * @author Richard Jones
 *
 */

From source file com.github.autermann.matlab.json.MatlabRequestSerializer.java

/**
 * {@link MatlabRequest} deserializer.
 *
 * @author Richard Jones
 *
 */

From source file com.github.autermann.matlab.json.MatlabResultSerializer.java

/**
 * {@link MatlabResult} deserializer.
 *
 * @author Richard Jones
 *
 */

From source file com.github.autermann.matlab.json.MatlabValueSerializer.java

/**
 * {@link MatlabValue} serializer.
 *
 * @author Richard Jones
 *
 */

From source file com.github.consiliens.harv.gson.IRequestLogRecordDeserializer.java

public final class IRequestLogRecordDeserializer implements JsonDeserializer<IRequestLogRecord> {

    // TODO: Default to true.
    private final String entitiesExternalPath;

    /** Defaults to saving entities as internal strings. **/

From source file com.github.duhongming.highcharts.json.SeriesDeserializer.java

/**
 * @author liuzh
 */
@SuppressWarnings("rawtypes")
public class SeriesDeserializer implements JsonDeserializer<Series> {
    @Override

From source file com.github.easyjsonapi.adapters.EasyJsonApiDeserializer.java

/**
 * Class helping deserializer the json api specification
 * 
 * @author Nuno Bento (nbento.neves@gmail.com)
 */
public class EasyJsonApiDeserializer extends EasyJsonApiMachine implements JsonDeserializer<JsonApi> {