 <p>I would just manually change the whole string to valid JSON. Have it start with a <code>[</code> and end with a <code>]</code>, then replace all those <code>/r</code>s with commas. The end result should look like</p> <blockquote> <p>"[{"id":"id","hole":"hole","stat":"stat","value":"value"},{"id":1354075540949,"hole":"1","stat":"score","value":"4"},{"id":1354075540949,"hole":"1","stat":"putts","value":"1"},{"id":1354075540949,"hole":"1","stat":"fir","value":"y"},{"id":1354075540949,"hole":"1","stat":"gir","value":"n"},]"</p> </blockquote> <p>Then parse <em>that</em> through <code>JSON.parse</code></p> <p>Just note that that last trailing comma may cause problems in IE8. If so, you should be able to manually fix that fairly easily. Something like <code>s = s.substr(0, s.length - 2) + ']';</code></p>