JSONObject.GetJSONObject(String) Método

Definição

Retorna o valor mapeado se name ele existir e for um JSONObjectou gerar o contrário.

[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

Parâmetros

name
String

O nome do mapeamento.

Retornos

O JSONObject mapeado por name.

Atributos

Exceções

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

Comentários

Retorna o valor mapeado se name ele existir e for um JSONObjectou gerar o contrário.

Java documentação para org.json.JSONObject.getJSONObject(java.lang.String).

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