JSONObject.ToJSONArray(JSONArray) 方法

定义

返回一个数组,其值对应于 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

参数

names
JSONArray

返回

属性

例外

注解

返回一个数组,其值对应于 names。 该数组包含未映射的名称的 null。 如果 names 为 null 或为空,则此方法返回 null。

Java文档org.json.JSONObject.toJSONArray(org.json.JSONArray)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于