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

JSONArray net::sf::json::JSONArray::element ( Map  value,
JsonConfig  jsonConfig 
) [inline]

Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.

value A Map value.

Definition at line 1721 of file JSONArray.java.

References element(), and elements.

      if( value instanceof JSONObject ){
         elements.add( value );
         return this;
         return element( JSONObject.fromObject( value, jsonConfig ) );

Generated by  Doxygen 1.6.0   Back to index