Package com.dslplatform.json.runtime
Class MapDecoder<K,V,T extends Map<K,V>>
java.lang.Object
com.dslplatform.json.runtime.MapDecoder<K,V,T>
- All Implemented Interfaces:
JsonReader.ReadObject<T>
public final class MapDecoder<K,V,T extends Map<K,V>>
extends Object
implements JsonReader.ReadObject<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final JsonReader.ReadObject<K> private final Typeprivate final JsonReader.ReadObject<V> -
Constructor Summary
ConstructorsConstructorDescriptionMapDecoder(Type manifest, Callable<T> newInstance, JsonReader.ReadObject<K> keyDecoder, JsonReader.ReadObject<V> valueDecoder) -
Method Summary
-
Field Details
-
manifest
-
newInstance
-
keyDecoder
-
valueDecoder
-
-
Constructor Details
-
MapDecoder
public MapDecoder(Type manifest, Callable<T> newInstance, JsonReader.ReadObject<K> keyDecoder, JsonReader.ReadObject<V> valueDecoder)
-
-
Method Details
-
read
- Specified by:
readin interfaceJsonReader.ReadObject<K>- Throws:
IOException
-