%JSON_ArraySetLength(
INT in handle,
INT in length
)
Parameters
handle
Handle to JSON array.
length
New length of array
Return value
None
Description
Function set length of arrayThe function sets the array length to the specified value. If the new length is greater less than previousthe original, the items at the end of array the field will be set to nulldeleted. If the new length is smaller than previous, item at then end of array will be removed.greater than the original array length, the New Items will be set to null.
If it is an invalid handle on a JSON array or the specified length is less than 0, an exception is thrownException is thrown if handle to JSON array is invalid or length is lower than 0.