JSON built-in functions

This topic lists the JSON built-in functions.

Table 1. JSON built-in functions
Function Description
JSONGETARRAYEND Checks if the next character, ignoring whitespace, in a piece of JSON text is a closing bracket, ].
JSONGETARRAYSTART Checks if the next character, ignoring whitespace, in a piece of JSON text is an opening bracket, [.
JSONGETCOLON Checks if the next character, ignoring whitespace, in a piece of JSON text is a colon.
JSONGETCOMMA Checks if the next character, ignoring whitespace, in a piece of JSON text is a comma.
JSONGETMEMBER Reads a member (or name-value pair) from a piece of JSON text.
JSONGETOBJECTEND Checks if the next character, ignoring whitespace, in a piece of JSON text is a closing brace, }.
JSONGETOBJECTSTART Checks if the next character, ignoring whitespace, in a piece of JSON text is an opening brace, {.
JSONGETVALUE Reads a value from a piece of JSON text.
JSONPUTARRAYEND Appends a closing bracket, ], to the JSON text.
JSONPUTARRAYSTART Appends an opening bracket, [, to the JSON text.
JSONPUTCOLON Appends a colon to the JSON text.
JSONPUTCOMMA Appends a comma to the JSON text.
JSONPUTMEMBER Appends a member (or name-value pair), as UTF-8, to the JSON text.
JSONPUTOBJECTEND Appends a closing brace, }, to the JSON text.
JSONPUTOBJECTSTART Appends an opening brace, {, to the JSON text.
JSONPUTVALUE Appends a value, as UTF-8, to the JSON text.
JSONVALID Determines if a buffer contains valid JSON text.