Adds a closing brace to a JSON text.
JSONPUTOBJECTEND(p,l)
JSONPUTOBJECTEND writes a closing brace (}) 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 = jsonputobjectend(p,p); will cause the buffer to contain closing brace (}) in position 1.
None.