List of usage examples for com.google.gson TypeAdapter subclass-usage
From source file com.ibm.watson.developer_cloud.alchemy.v1.util.TaxonomyTypeAdapter.java
/** * The Class TaxonomyTypeAdapter. */ public class TaxonomyTypeAdapter extends TypeAdapter<Taxonomy> { /*
From source file com.ibm.watson.developer_cloud.conversation.v1.model.util.PaginationResponseTypeAdapter.java
/** * Type adapter to transform JSON into a {@link PaginationResponse} and vice versa. */ public class PaginationResponseTypeAdapter extends TypeAdapter<PaginationResponse> { private static final String MATCHED = "matched"; private static final String TOTAL = "total";
From source file com.ibm.watson.developer_cloud.speech_to_text.v1.util.SpeechTimestampTypeAdapter.java
/** * Type adapter to transform timestamp from json into objects and viseversa. */ public class SpeechTimestampTypeAdapter extends TypeAdapter<SpeechTimestamp> { /*
From source file com.ibm.watson.developer_cloud.speech_to_text.v1.util.SpeechWordConfidenceTypeAdapter.java
/** * Type adapter to transform word confidence from json into objects and viseversa.. */ public class SpeechWordConfidenceTypeAdapter extends TypeAdapter<SpeechWordConfidence> { /*
From source file com.ibm.watson.developer_cloud.tradeoff_analytics.v1.util.ColumnTypeAdapter.java
/** * Type adapter to transform JSON into a {@link Column} and vice versa. */ public class ColumnTypeAdapter extends TypeAdapter<Column> { private static final String DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss'Z'";
From source file com.ibm.watson.developer_cloud.util.BooleanToStringTypeAdapter.java
/** * This TypeAdapter converts "yes", "no", "true", and "false" to Booleans and vice versa. */ public class BooleanToStringTypeAdapter extends TypeAdapter<Boolean> { private static final String YES = "yes";
From source file com.ibm.watson.developer_cloud.util.LongToDateTypeAdapter.java
/** * This TypeAdapter converts unix timestamps (in numeric or String form) to Java Dates and vice versa. */ public class LongToDateTypeAdapter extends TypeAdapter<Date> { /*
From source file com.ibm.watson.speech_to_text.v1.util.SpeechTimestampTypeAdapter.java
/** * Type adapter to transform timestamp from json into objects and viseversa. */ public class SpeechTimestampTypeAdapter extends TypeAdapter<SpeechTimestamp> { /*
From source file com.ibm.watson.speech_to_text.v1.util.SpeechWordConfidenceTypeAdapter.java
/** * Type adapter to transform word confidence from json into objects and viseversa.. */ public class SpeechWordConfidenceTypeAdapter extends TypeAdapter<SpeechWordConfidence> { /*
From source file com.j2.cs.webservices.metrofax.server.json.JsonIntegerTypeAdapter.java
/** * * @author Andres.Gama */ public class JsonIntegerTypeAdapter extends TypeAdapter<Number> {