Adds a closing square bracket to a JSON text.
JSONPUTARRAYEND(p,l)
JSONPUTARRAYEND writes a closing bracket (]) to the first position in the buffer if the length of the buffer is greater than 0. If successful, it returns 1; otherwise zero is returned indicating there was no space in the buffer.
Assuming buffer length is at least 1, Bytes = jsonputarrayend(p,l); will cause the buffer to contain closing bracket (]) in position 1.
None.