Issues with getEventStream
Closed this issue · 4 comments
dmiddlecamp commented
m-dierker commented
I'm experiencing this problem too. Events are coming through as a String with the format "data: {key: value}"
lourd commented
Has any progress been made on this? I started a new thread on the forum with more details
dmiddlecamp commented
I'm adding this to my sprint, and will work on fixing it in the next few weeks.
dmiddlecamp commented
Hey All,
I just published a fix for this, and a new version of SparkJS that should fix the issue, you should now get nice JSON data objects back. It'll be up to you to parse the contents of your event though, but I'm guessing that'll be a simple JSON.parse(obj.data);
:)
Thanks,
David