> If you allow trailing commas then you would break json parsing in all old version of IE.
No, you would break the evaluation of json as javascript in old versions of IE.
Use a real parser already.
No, you would break the evaluation of json as javascript in old versions of IE.
Use a real parser already.
[1] http://en.m.wikipedia.org/wiki/Cross-origin_resource_sharing
callback(JSON.parse('{ "key":"value" }'))
Or even directly parsing the string inside of the callback.