Syntax
FromJsonString(json_string)
Description
Use this method to populate the JSON Object from a json object represented as a string.
Parameters
Name | Description |
---|---|
json_string | Specifies a Json object as a string. |
Returns
None.
Example
Local string &sJsonObject;
&sJsonObject = "{""test"": ""hello"", ""another"": ""val""}";
Local PSM_JSON:Object &oObject = create PSM_JSON:Object();
&oObject.FromJsonString(&sJsonObject);