Reference+
Name
append()
Class
JSONArray
Description
Appends a new value to the JSONArray, increasing the array's length by one. New values may be of the following types: int, float, String, boolean, JSONObject, or JSONArray.
Syntax
.append(value)
Parameters
value
(String, int, float, boolean, JSONArray, JSONObject)
a String valuevalue
(int, JSONObject, float, boolean, JSONArray)
an int valuevalue
(float, JSONObject, JSONArray, boolean)
a float valuevalue
(boolean, JSONObject, JSONArray)
a boolean valuevalue
(JSONArray, JSONObject, boolean)
a JSONArray valuevalue
(JSONObject, JSONArray, boolean)
a JSONObject value
Return
JSONArray
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.