Fires with the JSON data being written.
func onJSON(text: String)
This event fires when output data is written.
Text contains the JSON data currently being written.