Imagine you have this particular item:
Object { value=584, end_time="2013-11-03T07:00:00+0000"}
Is there a simple way to transform it into proper JSON format?
When using JSON.stringify
, the issue arises where double quotes are not added around keys/values without them in the original object. This results in output like:
{"value":584,"end_time":"2013-11-03T07:00:00+0000"}