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

JSONArray net::sf::json::JSONArray::element ( int  index,
Collection  value 
) [inline]

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

Parameters:
index The subscript.
value A Collection value.
Returns:
this.
Exceptions:
JSONException If the index is negative or if the value is not finite.

Definition at line 1451 of file JSONArray.java.

References element().

                                                           {
      return element( index, value, new JsonConfig() );
   }


Generated by  Doxygen 1.6.0   Back to index