T
- the class type.public class ListUnmarshaller<T> extends java.lang.Object implements Unmarshaller<java.util.List<T>,JsonUnmarshallerContext>
Constructor and Description |
---|
ListUnmarshaller(Unmarshaller<T,JsonUnmarshallerContext> itemUnmarshaller)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<T> |
unmarshall(JsonUnmarshallerContext context) |
public ListUnmarshaller(Unmarshaller<T,JsonUnmarshallerContext> itemUnmarshaller)
itemUnmarshaller
- the item unmarshaller.public java.util.List<T> unmarshall(JsonUnmarshallerContext context) throws java.lang.Exception
unmarshall
in interface Unmarshaller<java.util.List<T>,JsonUnmarshallerContext>
context
- to unmarshall.java.lang.Exception