Condividi tramite


JSONArray.OptJSONObject(Int32) Metodo

Definizione

Restituisce il valore in corrispondenza index di se esiste ed è un oggetto JSONObject.

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

Parametri

index
Int32

Restituisce

Attributi

Commenti

Restituisce il valore in corrispondenza index di se esiste ed è un oggetto JSONObject. Restituisce null in caso contrario.

Documentazione java per org.json.JSONArray.optJSONObject(int).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a