List of usage examples for com.google.gson TypeAdapterFactory interface-usage
From source file com.devicehive.json.adapters.RuntimeTypeAdapterFactory.java
/**
* Copy of https://github.com/google/gson/blob/master/extras/src/main/java/com/google/gson/typeadapters/RuntimeTypeAdapterFactory.java
*
* Adapts values whose runtime type may differ from their declaration type. This
* is necessary when a field's type is not the same type that GSON should create
* when deserializing that field. For example, consider these types:
From source file com.drakeet.rebase.api.tool.ResponseTypeAdapterFactory.java
/**
* ?? API ?
* ?
*
* @author drakeet
*/
From source file com.ebay.gpf.paas.faultinject.web.server.servlet.RuntimeTypeAdapterFactory.java
/**
* Adapts values whose runtime type may differ from their declaration type. This
* is necessary when a field's type is not the same type that GSON should create
* when deserializing that field. For example, consider these types:
* <pre> {@code
* abstract class Shape {
From source file com.ecchilon.happypandaproject.gson.RuntimeTypeAdapterFactory.java
/**
* Adapts values whose runtime type may differ from their declaration type. This is necessary when a field's type is not
* the same type that GSON should create when deserializing that field. For example, consider these types:
* <pre> {@code
* abstract class Shape {
* int x;
From source file com.eslint.config.schema.RuntimeTypeAdapterFactory.java
/**
* Adapts values whose runtime type may differ from their declaration type. This
* is necessary when a field's type is not the same type that GSON should create
* when deserializing that field. For example, consider these types:
* <pre> {@code
* abstract class Shape {
From source file com.etermax.conversations.repository.impl.elasticsearch.mapper.RuntimeTypeAdapterFactory.java
/**
* Adapts values whose runtime type may differ from their declaration type. This
* is necessary when a field's type is not the same type that GSON should create
* when deserializing that field. For example, consider these types:
* <pre> {@code
* abstract class Shape {
From source file com.example.repository_pattern_demo.data.TypeAdapterFactoryImpl.java
@GsonTypeAdapterFactory public abstract class TypeAdapterFactoryImpl implements TypeAdapterFactory { public static TypeAdapterFactory create() { return new AutoValueGson_TypeAdapterFactoryImpl(); }
From source file com.example.runtimeFactoryAndTypeAdapter.RuntimeTypeAdapterFactory.java
/**
* Adapts values whose runtime type may differ from their declaration type. This
* is necessary when a field's type is not the same type that GSON should create
* when deserializing that field. For example, consider these types:
* <pre> {@code
* abstract class Shape {
From source file com.example.runtimeTypeAdapterFactory.RuntimeTypeAdapterFactory.java
/**
* Adapts values whose runtime type may differ from their declaration type. This
* is necessary when a field's type is not the same type that GSON should create
* when deserializing that field. For example, consider these types:
* <pre> {@code
* abstract class Shape {
From source file com.favoritemedium.mattermost.models.common.RuntimeTypeAdapterFactory.java
/**
* Adapts values whose runtime type may differ from their declaration type. This
* is necessary when a field's type is not the same type that GSON should create
* when deserializing that field. For example, consider these types:
* <pre> {@code
* abstract class Shape {