JSON parser grammar

Mark Miller erights at gmail.com
Mon Jun 8 13:16:58 PDT 2009


On Mon, Jun 8, 2009 at 11:19 AM, Allen Wirfs-Brock
<Allen.Wirfs-Brock at microsoft.com> wrote:
> Conforming consensus...
>
> I want to make sure that I understand the consensus of last week's discussion on this thread so I can update the spec. accordingly.  Below is the decision points that I sent out last week.  I've annotated it with what I believe was the consensus of the discussion.  Let me know if anybody disagrees that this is actually the consensus conclusions.
> [...]

I agree with all the decisions above.


> 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
>
> Was there any consensus that at least some of these code points should be escapeded?  If show which if not all?

I think it is important that 0x2028 and 0x2029 be escaped. I have no
opinion about the others.


-- 
Text by me above is hereby placed in the public domain

    Cheers,
    --MarkM


More information about the es-discuss mailing list