Loads a JSON stream from a buffer and parses it.
You can call this function multiple times with the same parser, but the contents of the parser will be destroyed each time.
the buffer to parse
the length of the buffer, or -1 if it is NUL terminated
TRUE if the buffer was succesfully parsed
Loads a JSON stream from a buffer and parses it.
You can call this function multiple times with the same parser, but the contents of the parser will be destroyed each time.