JSONObject.GetJSONArray(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the value mapped by name
if it exists and is a JSONArray
, or throws otherwise.
[Android.Runtime.Register("getJSONArray", "(Ljava/lang/String;)Lorg/json/JSONArray;", "GetGetJSONArray_Ljava_lang_String_Handler")]
public virtual Org.Json.JSONArray GetJSONArray (string name);
[<Android.Runtime.Register("getJSONArray", "(Ljava/lang/String;)Lorg/json/JSONArray;", "GetGetJSONArray_Ljava_lang_String_Handler")>]
abstract member GetJSONArray : string -> Org.Json.JSONArray
override this.GetJSONArray : string -> Org.Json.JSONArray
Parameters
- name
- String
Returns
- Attributes
Exceptions
if the mapping doesn't exist or is not a JSONArray
.
Remarks
Returns the value mapped by name
if it exists and is a JSONArray
, or throws otherwise.
Java documentation for org.json.JSONObject.getJSONArray(java.lang.String)
.
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.