Condividi tramite


JSONObject.GetJSONObject(String) Metodo

Definizione

Restituisce il valore mappato da name se esiste ed è un JSONObjectoggetto o genera un'eccezione in caso contrario.

[Android.Runtime.Register("getJSONObject", "(Ljava/lang/String;)Lorg/json/JSONObject;", "GetGetJSONObject_Ljava_lang_String_Handler")]
public virtual Org.Json.JSONObject GetJSONObject(string name);
[<Android.Runtime.Register("getJSONObject", "(Ljava/lang/String;)Lorg/json/JSONObject;", "GetGetJSONObject_Ljava_lang_String_Handler")>]
abstract member GetJSONObject : string -> Org.Json.JSONObject
override this.GetJSONObject : string -> Org.Json.JSONObject

Parametri

name
String

Restituisce

Attributi

Eccezioni

se il mapping non esiste o non è .JSONObject

Commenti

Restituisce il valore mappato da name se esiste ed è un JSONObjectoggetto o genera un'eccezione in caso contrario.

Documentazione java per org.json.JSONObject.getJSONObject(java.lang.String).

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