public static < E > List < E > listify ( ObjectMapper mapper , Object source , Class < E > targetElementType ) { return ( List < E > ) collectify ( mapper , source , List . class , targetElementType ) ; }
Convert an object to a list .