Please enable JavaScript to view this site.

CMDebug / TCC-RT Help v. 27

@JSONINSERTVALUE[xpath,value,type,position] : Inserts the specified value at the selected position.

 

Value specifies the new value.

Type specifies the type of the value. Possible values are:

0 (Object)

1 (Array)

2 (String)

3 (Number)

4 (Bool)

5 (Null)

6 (Raw)

 

The Position parameter specifies the position of Value relative to the element specified by XPath. Possible values are:

0 (Before the current element)

1 (After the current element)

2 (The first child of the current element)

3 (The last child of the current element)

 

The JSON file must have been opened with a previous call to @JSONOPEN.