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.

Parameters:
value A Collection value.
Returns:
this.

Definition at line 1395 of file JSONArray.java.

References element(), and elements.

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


Generated by  Doxygen 1.6.0   Back to index