JSONArray.OptJSONArray(Int32) Método

Definição

Retorna o valor em index se ele existe e é um JSONArray.

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

Parâmetros

index
Int32

Retornos

Atributos

Comentários

Retorna o valor em index se ele existe e é um JSONArray. Retorna nulo caso contrário.

Java documentação para org.json.JSONArray.optJSONArray(int).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a