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.komodo.rest.relational.json.StatusObjectSerializer.java

/**
 * A GSON serializer/deserializer for {@status KomodoStatusObject}s.
 */
public final class StatusObjectSerializer extends TypeAdapter<KomodoStatusObject> {

    private static final Type STRING_MAP_TYPE = new TypeToken<Map<String, String>>() {

From source file org.komodo.rest.relational.json.StorageTypeDescriptorSerializer.java

/**
 * A GSON serializer/deserializer for {@status RestStorageTypeDescriptor}.
 */
public class StorageTypeDescriptorSerializer extends TypeAdapter<RestStorageTypeDescriptor> {

    @Override

From source file org.komodo.rest.relational.json.StorageTypeSerializer.java

/**
 * A GSON serializer/deserializer for {@status RestStorageType}s.
 */
public class StorageTypeSerializer extends TypeAdapter<RestStorageType> {

    /**

From source file org.komodo.rest.relational.json.TeiidAttributesSerializer.java

/**
 * A GSON serializer/deserializer for {@status KomodoSearchObject}s.
 */
public final class TeiidAttributesSerializer extends TypeAdapter<KomodoTeiidAttributes> {

    /**

From source file org.komodo.rest.relational.json.TeiidVdbStatusVdbSerializer.java

/**
 * A GSON serializer/deserializer for {@status RestTeiidVdbStatusVdb}s.
 */
public final class TeiidVdbStatusVdbSerializer extends TypeAdapter<RestTeiidVdbStatusVdb> {

    /**

From source file org.komodo.rest.relational.json.VdbUpdateAttributesSerializer.java

/**
 * A GSON serializer/deserializer for {@status KomodoVdbUpdateAttribute}s.
 */
public final class VdbUpdateAttributesSerializer extends TypeAdapter<KomodoVdbUpdateAttributes> {

    /**

From source file org.mule.runtime.extension.internal.persistence.ComponentResultTypeAdapter.java

/**
 * A {@link TypeAdapter} to handle {@link ComponentMetadataResult} instances
 *
 * @since 1.0
 */
public class ComponentResultTypeAdapter extends TypeAdapter<ComponentMetadataResult> {

From source file org.mule.runtime.extension.internal.persistence.ElementDslModelTypeAdapter.java

/**
 * A {@link TypeAdapter} for serializing instances of {@link ParameterDslConfiguration}
 *
 * @since 1.0
 */
public class ElementDslModelTypeAdapter extends TypeAdapter<ParameterDslConfiguration> {

From source file org.mule.runtime.extension.internal.persistence.ExtensionModelTypeAdapter.java

/**
 * A {@link TypeAdapter} to handle {@link ExtensionModel} instances
 *
 * @since 1.0
 */
public final class ExtensionModelTypeAdapter extends TypeAdapter<ExtensionModel> {

From source file org.mule.runtime.extension.internal.persistence.ImportedTypesModelTypeAdapter.java

/**
 * {@link TypeAdapter} implementation which serializes {@link ImportedTypeModel} instances
 *
 * @since 1.0
 */
public class ImportedTypesModelTypeAdapter extends TypeAdapter<ImportedTypeModel> {