On Dec 13, 2006, at 9:56 AM, Edward Summers wrote: > Don't the keys need to be quoted? And why are forward slashes escaped > with backslashes inside strings?
Json[1] is stricter than Javascript object literals. And the installed base of javascript is yet more generous. So that often accept; unquoted keys in objects, extra escapes in strings, and trailing commas in object key/value pairs. There is a lot of pressure on a implementer of a json reader to relax. So you all may find toggles to enable various kinds of generosity. Something to be said for setting a good strict example though. [1] http://www.json.org/ [2] http://www.mozilla.org/js/language/js20/formal/parser-grammar.html _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
