code: public static List toList( JSONArray jsonArray, Class objectClass, Map classMap ) {
        JsonConfig jsonConfig = new JsonConfig();
        jsonConfig.setRootClass( objectClass );
        jsonConfig.setClassMap( classMap );
        return toList( jsonArray, jsonConfig );
     }
docs: Creates a List from a JSONArray.<br>
  Any attribute is a JSONObject and matches a key in the classMap, it will
  be converted to that target class.<br>
  The classMap has the following conventions:
  <ul>
  <li>Every key must be an String.</li>
  <li>Every value must be a Class.</li>
  <li>A key may be a regular expression.</li>
  </ul>
  
  @deprecated replaced by toCollection
  @see #toCollection(JSONArray,Class,Map)