GetJsonArray method: JsonObject class
Syntax
GetJsonArray(Name)
Description
Use this method to return the Json array mentioned by the input parameter from the Json object.
Parameters
| Parameter | Description |
|---|---|
|
Name |
Specifies the name of the Json array object as a string. |
Returns
JsonArray.
Example
Local JsonObject &jObj = CreateJsonObject();
Local JsonArray &jArr = CreateJsonArray();
&jObj.AddJsonArray("MemberNames", &jArr);
Local JsonArray &ja = &jObj.GetJsonArray("MemberNames");