/** * This converts a list of maps to objects. * I always forget that this exists. I need to remember. * * @param respectIgnore honor @JsonIgnore, transients, etc. of the field * @param view the view of the object which can ignore certain fields given certain views * @param fieldsAccessor how we are going to access the fields (by field, by property, combination) * @param componentType The component type of the created list * @param list the input list * @param ignoreProperties properties to ignore * @param <T> generics * @return a new list */ public static <T> List<T> convertListOfMapsToObjects( boolean respectIgnore, String view, FieldsAccessor fieldsAccessor, Class<T> componentType, List<Map> list, Set<String> ignoreProperties) { return new MapperComplex(fieldsAccessor, ignoreProperties,view, respectIgnore).convertListOfMapsToObjects(list, componentType); }
/** * This converts a list of maps to objects. * I always forget that this exists. I need to remember. * * @param respectIgnore honor @JsonIgnore, transients, etc. of the field * @param view the view of the object which can ignore certain fields given certain views * @param fieldsAccessor how we are going to access the fields (by field, by property, combination) * @param componentType The component type of the created list * @param list the input list * @param ignoreProperties properties to ignore * @param <T> generics * @return a new list */ public static <T> List<T> convertListOfMapsToObjects( boolean respectIgnore, String view, FieldsAccessor fieldsAccessor, Class<T> componentType, List<Map> list, Set<String> ignoreProperties) { return new MapperComplex(fieldsAccessor, ignoreProperties,view, respectIgnore).convertListOfMapsToObjects(list, componentType); }