Writes the closing brace of a JSON object.
public func endObject() throws -> Void
This method writes the closing brace of a JSON object. A object must have previously been started by calling StartObject.