code: public static List toList( JSONArray jsonArray, Class objectClass ) {
        JsonConfig jsonConfig = new JsonConfig();
        jsonConfig.setRootClass( objectClass );
        return toList( jsonArray, jsonConfig );
     }
docs: Creates a List from a JSONArray.
  
  @deprecated replaced by toCollection
  @see #toCollection(JSONArray,Class)