List of usage examples for com.google.gson TypeAdapter subclass-usage
From source file org.eclipse.recommenders.utils.gson.FileTypeAdapter.java
public class FileTypeAdapter extends TypeAdapter<File> { @Override public void write(JsonWriter out, File value) throws IOException { if (value == null) { out.nullValue();
From source file org.eclipse.recommenders.utils.gson.MethodNameTypeAdapter.java
public class MethodNameTypeAdapter extends TypeAdapter<IMethodName> { @Override public void write(JsonWriter out, IMethodName value) throws IOException { if (value == null) { out.nullValue();
From source file org.eclipse.recommenders.utils.gson.PackageNameTypeAdapter.java
public class PackageNameTypeAdapter extends TypeAdapter<IPackageName> { @Override public void write(JsonWriter out, IPackageName value) throws IOException { if (value == null) { out.nullValue();
From source file org.eclipse.recommenders.utils.gson.TypeNameTypeAdapter.java
public class TypeNameTypeAdapter extends TypeAdapter<ITypeName> { @Override public void write(JsonWriter out, ITypeName value) throws IOException { if (value == null) { out.nullValue();
From source file org.eclipse.recommenders.utils.gson.UuidTypeAdapter.java
public class UuidTypeAdapter extends TypeAdapter<UUID> { @Override public void write(JsonWriter out, UUID value) throws IOException { if (value == null) { out.nullValue();
From source file org.eclipse.smarthome.persistence.mapdb.internal.StateTypeAdapter.java
/** * A GSON TypeAdapter for Eclipse SmartHome State values. * * @author Martin Khl - Initial contribution */ public class StateTypeAdapter extends TypeAdapter<State> {
From source file org.eclipse.smarthome.storage.json.PropertiesTypeAdapter.java
/**
* Type adapter that makes sure that all Numeric values in Maps of type
* Map<String, Object> are deserialized as BigDecimal instances instead of
* doubles.
*
* @author Ivan Iliev
From source file org.eclipse.smarthome.storage.mapdb.internal.PropertiesTypeAdapter.java
/**
* Type adapter that makes sure that all Numeric values in Maps of type
* Map<String, Object> are deserialized as BigDecimal instances instead of
* doubles.
*
* @author Ivan Iliev
From source file org.eclipse.smarthome.storage.mapdb.PropertiesTypeAdapter.java
/**
* Type adapter that makes sure that all Numeric values in Maps of type
* Map<String, Object> are deserialized as BigDecimal instances instead of
* doubles.
*
* @author Ivan Iliev
From source file org.egov.infra.web.support.json.adapter.HibernateProxyTypeAdapter.java
/** * This TypeAdapter unproxies Hibernate proxied objects, and serializes them * through the registered (or default) TypeAdapter of the base class. */ public class HibernateProxyTypeAdapter extends TypeAdapter<HibernateProxy> {