Syntax
FromJsonString(json_string)
Description
Use this method to populate the JSON Array from a json array represented as a string.
Parameters
Name | Description |
---|---|
json_string | Specifies a Json array as a string. |
Returns
None.
Example
Local string &sJsonArray;
&sJsonArray = "[ {""test"": ""hello""}, {""another"": ""obj""} ]";
Local PSM_JSON:Array &oArray = create PSM_JSON:Array();
&oArray.FromJsonString(&sJsonArray);