String serializeToJSON(SimpleEvent event, boolean pretty)
String serializeToJSON(SimpleEvent event, boolean pretty)
Name | Type | Description |
---|---|---|
event | SimpleEvent | The input event |
pretty | boolean | If true, the output will be formatted for human-readability. |
Type | Description |
---|---|
String | Serialized JSON |