IPWorks MQ 2020 Node.js Edition

Questions / Feedback?

Characters Event

Fired for plain text segments of the input stream.

Syntax

json.on('Characters', [callback])

Callback

The 'callback' is called when the 'Characters' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.text

Remarks

The Characters event provides the plain text content of the JSON document (i.e. the text inside the elements). The text is provided through the Text parameter.

The text includes white space as well as end of line characters, except for ignorable whitespace which is fired through the IgnorableWhitespace event.

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