JSONGETARRAYEND

JSONGETARRAYEND(p,n) checks whether the next character, ignoring whitespace, in a piece of JSON text is a closing bracket ]. This function returns a size_t 1 value that is equal to the number of bytes read.

If the number of available bytes n is greater than zero, JSONGETARRAYEND(p,n) attempts to read a closing bracket ] from the buffer.

Read syntax diagramSkip visual syntax diagram
>>-JSONGETARRAYEND(p,n)----------------------------------------><

p
A pointer that specifies the address of a buffer to be read.
n
A size_t value that specifies the number of available bytes in the buffer.





Published: 23 December 2018