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

JSONArray net::sf::json::JSONArray::optJSONArray ( int  index  )  [inline]

Get the optional JSONArray associated with an index.

index subscript
A JSONArray value, or null if the index has no value, or if the value is not a JSONArray.

Definition at line 2218 of file JSONArray.java.

References opt().

      Object o = opt( index );
      return o instanceof JSONArray ? (JSONArray) o : null;

Generated by  Doxygen 1.6.0   Back to index