Checks if the first character after any whitespace in a piece of JSON text is a closing brace.
JSONGETOBJECTEND reads up to and including the first non-whitespace character in the JSON text buffer to see if there is the closing brace (}) character. If there is, JSONGETOBJECTEND returns the position of this character; otherwise a zero is returned indicating that it is not found.