JSON parser grammar

Dean Landolt dean at deanlandolt.com
Tue Jun 22 20:28:39 PDT 2010


On Tue, Jun 22, 2010 at 11:27 PM, Oliver Hunt <oliver at apple.com> wrote:

>
> On Jun 22, 2010, at 8:17 PM, Dean Landolt wrote:
> > There are countless JSON parsers in the wild -- likely > 1 for almost
> every obscure language in existence, not counting all the one-offs. Any
> number of these were written with the expectation of not expecting control
> characters -- not too long ago I wrote a .NET streaming parser that I'm
> fairly sure would blow up at the first sight of a \t.
>
> I am not suggesting that browser should not escape tabs, the issue is
> whether a conforming JSON implementation is allowed to parse a string that
> includes tab characters.
>

Yes, I know: see my next paragraph.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20100622/d09ff2bc/attachment.html>


More information about the es-discuss mailing list