EventIn
The EventIn
class processes incoming events, converting JSON keys to camelCase format for consistency within the application.
Properties
The EventIn instance has no set properties!
Methods
toCamelCase
EventIn : toCamelCase () -> table
self: EventIn
json: table
Converts JSON keys from snake_case to camelCase.
processJSON
EventIn : processJSON () -> any
self: EventIn
data: any
Processes incoming JSON data, converting keys to camelCase if the data is a table.
Functions
new
EventIn . new () -> ()
Creates a new instance of EventIn
.