I am trying to parse JSON data in my Rails 3 application with JSON.parse
. I keep getting this error:
737: unexpected token at '{\"0\":{\"class\":\"window\",\"text\":\"Testing\",\"style\":\"position: absolute; top: 8px; left: 8px; width: 560px; height: 290px; z-index: 0; \"}
The actual JSON is a lot longer, but it is basically the same.