IPWorks MQ 2020 Python Edition

Questions / Feedback?

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 Python Edition - Version 20.0 [Build 8155]