Logo Search packages:      
Sourcecode: libjson-java version File versions

static List net::sf::json::JSONArray::toList ( JSONArray  jsonArray,
Class  objectClass 
) [inline, static]

Creates a List from a JSONArray.

replaced by toCollection
See also:

Definition at line 576 of file JSONArray.java.

References net::sf::json::JsonConfig::setRootClass(), and toList().

      JsonConfig jsonConfig = new JsonConfig();
      jsonConfig.setRootClass( objectClass );
      return toList( jsonArray, jsonConfig );

Generated by  Doxygen 1.6.0   Back to index