Fires with the JSON data being written.
json.on('JSON', listener: (e: {readonly text: string}) => void )
This event fires when output data is written.
Text contains the JSON data currently being written.