T - The specification type that this codec handle.public abstract class AbstractSpecificationCodec<T> extends Object implements com.google.gson.JsonSerializer<T>, com.google.gson.JsonDeserializer<T>
| Constructor and Description |
|---|
AbstractSpecificationCodec() |
| Modifier and Type | Method and Description |
|---|---|
protected <V> List<V> |
deserializeList(com.google.gson.JsonElement json,
com.google.gson.JsonDeserializationContext context,
Class<V> valueType) |
protected <V> Map<String,V> |
deserializeMap(com.google.gson.JsonElement json,
com.google.gson.JsonDeserializationContext context,
Class<V> valueType) |
protected <V> Set<V> |
deserializeSet(com.google.gson.JsonElement json,
com.google.gson.JsonDeserializationContext context,
Class<V> valueType) |
protected <V> com.google.gson.JsonElement |
serializeList(List<V> list,
com.google.gson.JsonSerializationContext context,
Class<V> valueType) |
protected <V> com.google.gson.JsonElement |
serializeMap(Map<String,V> map,
com.google.gson.JsonSerializationContext context,
Class<V> valueType) |
protected <V> com.google.gson.JsonElement |
serializeSet(Set<V> set,
com.google.gson.JsonSerializationContext context,
Class<V> valueType) |
protected final <V> com.google.gson.JsonElement serializeMap(Map<String,V> map, com.google.gson.JsonSerializationContext context, Class<V> valueType)
protected final <V> Map<String,V> deserializeMap(com.google.gson.JsonElement json, com.google.gson.JsonDeserializationContext context, Class<V> valueType)
protected final <V> com.google.gson.JsonElement serializeSet(Set<V> set, com.google.gson.JsonSerializationContext context, Class<V> valueType)
protected final <V> Set<V> deserializeSet(com.google.gson.JsonElement json, com.google.gson.JsonDeserializationContext context, Class<V> valueType)
protected final <V> com.google.gson.JsonElement serializeList(List<V> list, com.google.gson.JsonSerializationContext context, Class<V> valueType)
Copyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.