Sdílet prostřednictvím


JSONArray.GetJSONArray(Int32) Method

Definition

Returns the value at index if it exists and is a JSONArray.

[Android.Runtime.Register("getJSONArray", "(I)Lorg/json/JSONArray;", "GetGetJSONArray_IHandler")]
public virtual Org.Json.JSONArray? GetJSONArray (int index);
[<Android.Runtime.Register("getJSONArray", "(I)Lorg/json/JSONArray;", "GetGetJSONArray_IHandler")>]
abstract member GetJSONArray : int -> Org.Json.JSONArray
override this.GetJSONArray : int -> Org.Json.JSONArray

Parameters

index
Int32

Returns

Attributes

Exceptions

if the value doesn't exist or is not a JSONArray.

Remarks

Returns the value at index if it exists and is a JSONArray.

Java documentation for org.json.JSONArray.getJSONArray(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