Syntax

AddJsonValue(json_value)

Description

Use this method to add a JsonValue to the JSON Array.

Parameters

Name Description
json_value Specifies the Json value to add to the JSON Array as a JsonValue data type.

Returns

None.

Example

Local JsonValue &jvJson = CreateJsonValue();
&jvJson.SetString("hello");
   
Local PSM_JSON:Array &oArray = create PSM_JSON:Array();
   
&oArray.AddJsonValue(&jvJson);