public class MapUnmarshaller<K,V> extends java.lang.Object implements Unmarshaller<java.util.Map<K,V>,JsonUnmarshallerContext>
Modifier and Type | Field and Description |
---|---|
private Unmarshaller<K,JsonUnmarshallerContext> |
keyUnmarshaller |
private Unmarshaller<V,JsonUnmarshallerContext> |
valueUnmarshaller |
Constructor and Description |
---|
MapUnmarshaller(Unmarshaller<K,JsonUnmarshallerContext> keyUnmarshaller,
Unmarshaller<V,JsonUnmarshallerContext> valueUnmarshaller) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<K,V> |
unmarshall(JsonUnmarshallerContext context) |
private final Unmarshaller<K,JsonUnmarshallerContext> keyUnmarshaller
private final Unmarshaller<V,JsonUnmarshallerContext> valueUnmarshaller
public MapUnmarshaller(Unmarshaller<K,JsonUnmarshallerContext> keyUnmarshaller, Unmarshaller<V,JsonUnmarshallerContext> valueUnmarshaller)
public java.util.Map<K,V> unmarshall(JsonUnmarshallerContext context) throws java.lang.Exception
unmarshall
in interface Unmarshaller<java.util.Map<K,V>,JsonUnmarshallerContext>
java.lang.Exception