List of usage examples for com.google.gson JsonDeserializer interface-usage
From source file com.continuuity.loom.codec.json.current.AddServicesRequestCodec.java
/** * Codec for deserializing a {@link com.continuuity.loom.http.request.AddServicesRequest}, * used so some validation is done on required fields. */ public class AddServicesRequestCodec implements JsonDeserializer<AddServicesRequest> {
From source file com.continuuity.loom.codec.json.current.AutomatorTypeCodec.java
/** * Codec for deserializing a {@link com.continuuity.loom.admin.AutomatorType}. Used so that the constructor is called to * avoid null values where they do not make sense. */ public class AutomatorTypeCodec implements JsonDeserializer<AutomatorType> {
From source file com.continuuity.loom.codec.json.current.ClusterCodec.java
/** * Codec for serializing/deserializing a {@link Cluster}. Used for backwards compatibility. */ public class ClusterCodec implements JsonDeserializer<Cluster> { @Override
From source file com.continuuity.loom.codec.json.current.ClusterConfigureRequestCodec.java
/** * Codec for deserializing a {@link com.continuuity.loom.http.request.ClusterConfigureRequest}, * used so some validation is done on required fields. */ public class ClusterConfigureRequestCodec implements JsonDeserializer<ClusterConfigureRequest> {
From source file com.continuuity.loom.codec.json.current.ClusterCreateRequestCodec.java
/** * Codec for deserializing a {@link com.continuuity.loom.layout.ClusterCreateRequest}, used so some validation is done * on required fields. */ public class ClusterCreateRequestCodec implements JsonDeserializer<ClusterCreateRequest> {
From source file com.continuuity.loom.codec.json.current.FinishTaskRequestCodec.java
/** * Codec for deserializing a {@link com.continuuity.loom.http.request.FinishTaskRequest}. * Used to make sure required fields are present. */ public class FinishTaskRequestCodec implements JsonDeserializer<FinishTaskRequest> {
From source file com.continuuity.loom.codec.json.current.ParametersSpecificationCodec.java
/** * Codec for deserializing a {@link com.continuuity.loom.admin.ParametersSpecification}. Used so that the constructor * is called to avoid null values where they do not make sense. */ public class ParametersSpecificationCodec implements JsonDeserializer<ParametersSpecification> {
From source file com.continuuity.loom.codec.json.current.ProviderTypeCodec.java
/** * Codec for deserializing a {@link com.continuuity.loom.admin.ProviderType}. Used so that the constructor is called to * avoid null values where they do not make sense. */ public class ProviderTypeCodec implements JsonDeserializer<ProviderType> {
From source file com.continuuity.loom.codec.json.current.ProvisionerCodec.java
/** * Codec for deserializing a {@link com.continuuity.loom.provisioner.Provisioner}. Used so field checking can occur. */ public class ProvisionerCodec implements JsonDeserializer<Provisioner> { @Override
From source file com.continuuity.loom.codec.json.current.TakeTaskRequestCodec.java
/** * Codec for deserializing a {@link TakeTaskRequest}. Used to make sure required fields are present. */ public class TakeTaskRequestCodec implements JsonDeserializer<TakeTaskRequest> { @Override