isapir / lucee-websocket

Enables server WebSockets for Lucee via JSR-356 compliant servlet containers (e.g. Tomcat 8, Jetty 9.1, etc.)
GNU Lesser General Public License v2.1
17 stars 6 forks source link

JSON not valid #4

Closed LanceLake closed 6 years ago

LanceLake commented 7 years ago

I just tried using this and I notice that it is producing the following json.

Object {MESSAGE: "Hello", TIMESTAMP: 1497640931522, CHANNEL: "default", FROM: "GM"}

When THIS is what it should be producing to be valid JSON.

Object {"MESSAGE": "Hello", "TIMESTAMP": 1497640931522, "CHANNEL": "default", "FROM": "GM"}

isapir commented 6 years ago

User had malformed JavaScript code