JSONArray.GetJSONObject(Int32) Método

Definição

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

[Android.Runtime.Register("getJSONObject", "(I)Lorg/json/JSONObject;", "GetGetJSONObject_IHandler")]
public virtual Org.Json.JSONObject? GetJSONObject(int index);
[<Android.Runtime.Register("getJSONObject", "(I)Lorg/json/JSONObject;", "GetGetJSONObject_IHandler")>]
abstract member GetJSONObject : int -> Org.Json.JSONObject
override this.GetJSONObject : int -> Org.Json.JSONObject

Parâmetros

index
Int32

O índice do valor a ser retornado.

Retornos

O JSONObject at index.

Atributos

Exceções

se o valor não existir ou não for um JSONObject.

Comentários

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

Java documentação para org.json.JSONArray.getJSONObject(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