I am looking for an efficient way to translate my Ember object to a json string, to use it in a websocket message below
/* * Model */ App.node = Ember.Obj
App.io.emit('node', {node: node.toJSON()});
Or if you have an ID property and want to include it:
App.io.emit('node', {node: node.toJSON({includeId: true})});