JSONArray.Get(Int32) Method

Definition

Returns the value at index.

[Android.Runtime.Register("get", "(I)Ljava/lang/Object;", "GetGet_IHandler")]
public virtual Java.Lang.Object? Get (int index);
[<Android.Runtime.Register("get", "(I)Ljava/lang/Object;", "GetGet_IHandler")>]
abstract member Get : int -> Java.Lang.Object
override this.Get : int -> Java.Lang.Object

Parameters

index
Int32

Returns

Object
Attributes

Exceptions

if this array has no value at index, or if that value is the null reference. This method returns normally if the value is JSONObject#NULL.

Remarks

Java documentation for org.json.JSONArray.get(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to