Skip to main content

JSON.ARRINSERT

Insert the json values into the array at path before the index (shifts to the right).
1 min read

Arguments#

keystringrequired#

The key of the json entry.

pathstringrequired#

The path of the array. $ is the root.

indexintegerrequired#

The index where to insert the values.

values...TValue[]required#

One or more values to append to the array.

Response#

integer[]required

The length of the array after the insertion.