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

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

Get the optional string value associated with an index. It returns an empty string if there is no value at that index. If the value is not a string and is not null, then it is coverted to a string.

index The index must be between 0 and size() - 1.
A String value.

Definition at line 2273 of file JSONArray.java.

      return optString( index, "" );

Generated by  Doxygen 1.6.0   Back to index