Writes the closing bracket of a JSON array.
async json.endArray(): Promise<void>
This method writes the closing bracket of a JSON array to the output. An array must already have been opened by calling StartArray.