EndElement Event
Fired when an end-element tag is encountered.
Syntax
json.on('EndElement', listener: (e: {readonly element: string}) => void )
Remarks
The EndElement event is fired when the end of an element is found in the document.
The element name is provided by the Element parameter.