List of usage examples for com.google.gson InstanceCreator interface-usage
From source file com.strategicgains.restexpress.serialization.json.GsonSerializer.java
/** * @author toddf * @since Nov 13, 2009 */ public interface GsonSerializer<T> extends JsonDeserializer<T>, JsonSerializer<T>, InstanceCreator<T> { }
From source file me.kenzierocks.plugins.currencysnowmen.implementation.DataMapAdapter.java
final class DataMapAdapter implements JsonSerializer<Table<Currency, Set<Context>, BigDecimal>>, JsonDeserializer<Table<Currency, Set<Context>, BigDecimal>>, InstanceCreator<Table<Currency, Set<Context>, BigDecimal>> { private static final class CTACollector implements Collector<Entry<Map<String, String>, BigDecimal>, Map<Set<Context>, BigDecimal>, Map<Set<Context>, BigDecimal>> {
From source file org.eclipse.smarthome.automation.parser.gson.internal.ActionInstanceCreator.java
/**
* This class creates {@link ActionType} instances.
*
* @author Ana Dimova - Initial Contribution
*
*/
From source file org.eclipse.smarthome.automation.parser.gson.internal.ConditionInstanceCreator.java
/**
* This class creates {@link ConditionType} instances.
*
* @author Ana Dimova - Initial Contribution
*
*/
From source file org.eclipse.smarthome.automation.parser.gson.internal.RuleInstanceCreator.java
/**
* This class creates {@link Rule} instances.
*
* @author Ana Dimova - Initial contribution
*
*/
From source file org.eclipse.smarthome.automation.parser.gson.internal.TemplateInstanceCreator.java
/**
* This class creates {@link RuleTemplate} instances.
*
* @author Ana Dimova - Initial Contribution
*
*/
From source file org.eclipse.smarthome.automation.parser.gson.internal.TriggerInstanceCreator.java
/**
* This class creates {@link TriggerType} instances.
*
* @author Ana Dimova - Initial Contribution
*
*/
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.jboss.aerogear.android.cookbook.agreddit.gson.ListingTypeAdapter.java
public class ListingTypeAdapter implements InstanceCreator<Listing>, JsonDeserializer<Listing> { public Listing deserialize(JsonElement element, Type arg1, JsonDeserializationContext arg2) throws JsonParseException { Listing listing = new Listing(); if (element.getAsJsonObject().get("after") != null)
From source file org.mbari.vars.annotation.gson.AssociationCreator.java
/** * @author Brian Schlining * @since 2017-09-20T14:15:00 */ public class AssociationCreator implements InstanceCreator<Association> { @Override