다음을 통해 공유


JSONObject.Names Method

Definition

Returns an array containing the string names in this object.

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

Returns

Attributes

Remarks

Returns an array containing the string names in this object. This method returns null if this object contains no mappings.

Java documentation for org.json.JSONObject.names().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to