%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 array. If new length is greater than previous, items at the end of array will be set to null. If new length is smaller than previous, item at then end of array will be removed.
Exception is thrown if handle to JSON array is invalid or length is lower than 0.
0 komentárov