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

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

Append a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.

value A Collection value.

Definition at line 1395 of file JSONArray.java.

References element(), and elements.

      if( value instanceof JSONArray ){
         elements.add( value );
         return this;
         return element( _fromCollection( value, jsonConfig ) );

Generated by  Doxygen 1.6.0   Back to index