JSON parser grammar

Douglas Crockford douglas at crockford.com
Mon Jun 8 17:56:25 PDT 2009


> In addition of code units in the range 0x0000-0x001f JSON.stringify inserts escape sequences into string literals for some or all of the following code units: 
> 0x007f-0x009f, 0x00ad, 0x0600-0x0604,0x070f,0x17bf,0x17b5,0x200c-0x200f,0x2028-0x202f,0x2060-0x206f,0xfeff,0xfff0-0xffff

There is no harm in doing this, and it will improve interoperability with ES3.


More information about the es-discuss mailing list