Example usage for com.google.gson TypeAdapter subclass-usage

List of usage examples for com.google.gson TypeAdapter subclass-usage

Introduction

In this page you can find the example usage for com.google.gson TypeAdapter subclass-usage.

Usage

From source file org.hibernate.search.elasticsearch.gson.impl.AbstractExtraPropertiesJsonAdapter.java

/**
 * @author Yoann Rodiere
 */
public abstract class AbstractExtraPropertiesJsonAdapter<T> extends TypeAdapter<T> {

    interface FieldAdapter<T> {

From source file org.hibernate.search.elasticsearch.schema.impl.model.ElasticsearchFormatJsonAdapter.java

/**
 * @author Yoann Rodiere
 */
public class ElasticsearchFormatJsonAdapter extends TypeAdapter<List<String>> {

    private static final String FORMAT_SEPARATOR_REGEX = "\\|\\|";

From source file org.hibernate.search.elasticsearch.util.impl.gson.AbstractExtraPropertiesJsonAdapter.java

/**
 * @author Yoann Rodiere
 */
public abstract class AbstractExtraPropertiesJsonAdapter<T> extends TypeAdapter<T> {

    interface FieldAdapter<T> {

From source file org.hibernate.search.elasticsearch.util.impl.gson.ES2FieldDataTypeJsonAdapter.java

/**
 * @author Yoann Rodiere
 */
public class ES2FieldDataTypeJsonAdapter extends TypeAdapter<FieldDataType> {

    @Override

From source file org.hibernate.search.elasticsearch.util.impl.gson.ES2IndexTypeJsonAdapter.java

/**
 * @author Yoann Rodiere
 */
@SuppressWarnings("deprecation")
public class ES2IndexTypeJsonAdapter extends TypeAdapter<IndexType> {

From source file org.hibernate.search.elasticsearch.util.impl.gson.ES2NormsTypeJsonAdapter.java

/**
 * @author Yoann Rodiere
 */
public class ES2NormsTypeJsonAdapter extends TypeAdapter<NormsType> {

    @Override

From source file org.hibernate.search.elasticsearch.util.impl.gson.ES5FieldDataTypeJsonAdapter.java

/**
 * @author Yoann Rodiere
 */
public class ES5FieldDataTypeJsonAdapter extends TypeAdapter<FieldDataType> {

    @Override

From source file org.hibernate.search.elasticsearch.util.impl.gson.ES5IndexTypeJsonAdapter.java

/**
 * @author Yoann Rodiere
 */
public class ES5IndexTypeJsonAdapter extends TypeAdapter<IndexType> {

    @Override

From source file org.hibernate.search.elasticsearch.util.impl.gson.ES5NormsTypeJsonAdapter.java

/**
 * @author Yoann Rodiere
 */
public class ES5NormsTypeJsonAdapter extends TypeAdapter<NormsType> {

    @Override

From source file org.iff.infra.util.jaxrs.gson.GsonByteString.java

/**
 * Gson representation for {@link ByteString}.
 * @author Andres Rodriguez
 */
public final class GsonByteString extends TypeAdapter<ByteString> {
    /** Constructor. */