I'm using Orbited as a Comet server on localhost. It is listening to ports:
9000 for http
61613 for stomp
My JavaScript debugger is reporting error: JSON is not defined in the line:
var vals = JSON.parse(payload);
What could be the cause and how do I resolve this issue?