Lenguaje

JSONObject.ToJSONArray(JSONArray) Método

Definición

Devuelve una matriz con los valores correspondientes a names.

[Android.Runtime.Register("toJSONArray", "(Lorg/json/JSONArray;)Lorg/json/JSONArray;", "GetToJSONArray_Lorg_json_JSONArray_Handler")]
public virtual Org.Json.JSONArray? ToJSONArray(Org.Json.JSONArray? names);
[<Android.Runtime.Register("toJSONArray", "(Lorg/json/JSONArray;)Lorg/json/JSONArray;", "GetToJSONArray_Lorg_json_JSONArray_Handler")>]
abstract member ToJSONArray : Org.Json.JSONArray -> Org.Json.JSONArray
override this.ToJSONArray : Org.Json.JSONArray -> Org.Json.JSONArray

Parámetros

names
JSONArray

Devoluciones

Atributos

Excepciones

Comentarios

Devuelve una matriz con los valores correspondientes a names. La matriz contiene null para los nombres que no están asignados. Este método devuelve null si names es null o está vacío.

Java documentación para org.json.JSONObject.toJSONArray(org.json.JSONArray).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a