Guide 1 Docs 2 Reference 3

Method of SocketMessage

socketMessage:json

The message as a table; an error when it is not JSON.

socketMessage:json() → any

Returns

any