List of usage examples for com.google.gson JsonDeserializer interface-usage
From source file com.claresco.tinman.json.XapiStatementBatchJson.java
/**
* XapiStatementBatchJson
* @author Rheza
*
* Description:
*
From source file com.claresco.tinman.json.XapiStatementJson.java
/**
* XapiStatementDeserializer.java
*
*
*
*
From source file com.claresco.tinman.json.XapiStatementRefJson.java
/**
* XapiStatementRefDeserializer.java
*
*
*
*
From source file com.claresco.tinman.json.XapiSubStatementJson.java
/**
* XapiSubStatementDeserializer.java
*
*
*
*
From source file com.claresco.tinman.json.XapiVerbJson.java
/**
* XapiVerbDeserializer.java
*
*
*
*
From source file com.cloud.agent.transport.ArrayTypeAdaptor.java
public class ArrayTypeAdaptor<T> implements JsonDeserializer<T[]>, JsonSerializer<T[]> { protected Gson _gson = null; private static final String s_pkg = Command.class.getPackage().getName() + ".";
From source file com.cloud.agent.transport.VolListTypeAdaptor.java
public class VolListTypeAdaptor implements JsonDeserializer<List<VolumeVO>>, JsonSerializer<List<VolumeVO>> { static final GsonBuilder s_gBuilder; static { s_gBuilder = new GsonBuilder().excludeFieldsWithoutExposeAnnotation(); }
From source file com.cloud.api.IdentityTypeAdapter.java
public class IdentityTypeAdapter implements JsonSerializer<IdentityProxy>, JsonDeserializer<IdentityProxy> { @Override public JsonElement serialize(IdentityProxy src, Type srcType, JsonSerializationContext context) { if (SerializationContext.current().getUuidTranslation()) { assert (src != null);
From source file com.cloud.api.StringMapTypeAdapter.java
@SuppressWarnings("rawtypes") public class StringMapTypeAdapter implements JsonDeserializer<Map> { @Override public Map deserialize(JsonElement src, Type srcType, JsonDeserializationContext context) throws JsonParseException {
From source file com.cloudant.client.api.Database.java
class ShardDeserializer implements JsonDeserializer<List<Shard>> { public List<Shard> deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { final List<Shard> shards = new ArrayList<Shard>();