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.gemini.domain.dto.serialize.GeminiSubnetSerializer.java

/**
 *
 * @author schari
 */
public class GeminiSubnetSerializer implements JsonSerializer<GeminiSubnetDTO> {

From source file com.gemini.domain.dto.serialize.GeminiTenantSerializer.java

/**
 *
 * @author schari
 */
public class GeminiTenantSerializer implements JsonSerializer<GeminiTenantDTO> {

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.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.IRequestLogRecordSerializer.java

public final class IRequestLogRecordSerializer implements JsonSerializer<IRequestLogRecord> {
    // TODO: Default to true.
    private final String entitiesExternalPath;

    /** Defaults to saving entities as internal strings. **/
    public IRequestLogRecordSerializer() {

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

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

From source file com.github.kyriosdata.regras.infraestrutura.ValorSerializer.java

/**
 * Define processo de converso de instncia de Valor
 * em "string".
 *
 * @see Valor
 */