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.fcrepo.indexer.NamedFieldsDeserializer.java

/**
 * Deserializes JSON maps
 *
 * @author ajs6f
 * @date Dec 6, 2013
 */

From source file org.fenixedu.bennu.adapters.DomainObjectAdapter.java

/***
 * Converts a string to a DomainObject
 * 
 */
public class DomainObjectAdapter extends TypeAdapter<DomainObject> implements InstanceCreator {

From source file org.gw2InfoViewer.services.json.typeadaptors.EventAdapter.java

/**
 *
 * @author Robert Smieja
 */
public class EventAdapter extends TypeAdapter<Event> {

From source file org.gw2InfoViewer.services.json.typeadaptors.EventListAdapter.java

/**
 *
 * @author Robert Smieja
 */
public class EventListAdapter extends TypeAdapter<EventList> {

From source file org.hibernate.search.backend.elasticsearch.document.model.impl.esnative.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.backend.elasticsearch.document.model.impl.esnative.ElasticsearchRoutingTypeJsonAdapter.java

/**
 * @author Yoann Rodiere
 */
public class ElasticsearchRoutingTypeJsonAdapter extends TypeAdapter<RoutingType> {

    @Override

From source file org.hibernate.search.backend.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.backend.elasticsearch.gson.impl.ES5FieldDataTypeJsonAdapter.java

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

    @Override

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

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

    @Override

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

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

    @Override