on_start_element Event
Fired when a new element is encountered in the document.
Syntax
class JSONStartElementEventParams(object): @property def element() -> str: ... # In class JSON: @property def on_start_element() -> Callable[[JSONStartElementEventParams], None]: ... @on_start_element.setter def on_start_element(event_hook: Callable[[JSONStartElementEventParams], None]) -> None: ...
Remarks
The on_start_element event is fired when a new element is found in the document.
The element name is provided through the Element parameter.