Writes the closing brace of a JSON object.
async json.endObject(): Promise<void>
This method writes the closing brace of a JSON object. A object must have previously been started by calling StartObject.