public static interface JsonModel.ListMappingModelReader
JsonModel to an Collection of Objects| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
of(Class<T> targetClass)
Converts this JsonModel to the a list of objects with the provided class using the configured
MappingProvider |
JsonModel.ListMappingModelReader |
toList()
Syntactic sugar function to use with
of(java.lang.Class<T>) |
<T> List<T> |
toListOf(Class<T> targetClass)
Converts this JsonModel to the a
List of objects with the provided class using the configured MappingProvider |
<T> Set<T> |
toSetOf(Class<T> targetClass)
Converts this JsonModel to the a
Set of objects with the provided class using the configured MappingProvider |
<T> List<T> of(Class<T> targetClass)
MappingProviderT - template classtargetClass - class to convert the JsonModel array items toJsonModel.ListMappingModelReader toList()
of(java.lang.Class<T>)<T> List<T> toListOf(Class<T> targetClass)
List of objects with the provided class using the configured MappingProviderT - template classtargetClass - class to convert the JsonModel array items to<T> Set<T> toSetOf(Class<T> targetClass)
Set of objects with the provided class using the configured MappingProviderT - template classtargetClass - class to convert the JsonModel array items toCopyright © 2011–2013. All rights reserved.