IPWorks MQ 2020 Python Edition

Questions / Feedback?

on_json Event

Fires with the JSON data being written.

Syntax

class JSONJSONEventParams(object):
  @property
  def text() -> str: ...

# In class JSON:
@property
def on_json() -> Callable[[JSONJSONEventParams], None]: ...
@on_json.setter
def on_json(event_hook: Callable[[JSONJSONEventParams], None]) -> None: ...

Remarks

This event fires when output data is written.

Text contains the JSON data currently being written.

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