W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2016

Re: FYI: JSON parsing

From: Julian Reschke <julian.reschke@gmx.de>
Date: Thu, 27 Oct 2016 12:35:07 +0200
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP working group mailing list <ietf-http-wg@w3.org>
Message-ID: <f860d854-ca01-ec4e-f7a3-86c58d77f502@gmx.de>
On 2016-10-27 11:07, Poul-Henning Kamp wrote:
> --------
> In message <b41122ed-b25a-7ce8-a3bf-331d9f916bad@gmx.de>, Julian Reschke writes
> :
>
>> Yes, but it's not relevant whether we can transport random JSON. What's
>> relevant is that all JSON can be converted to something that can be
>> safely transmitted in HTTP/1.1 header field values (and that is the case).
>
> But then it is no longer JSON but "JSON with footnotes".
>
> We can haggle about how many footnotes are necessary, or if they're
> important, but there's no escaping that they will trip people up
> and cause bugs and possibly security holes down the line.

Well, the conversion to field value notation is quite simple; see 
<https://greenbytes.de/tech/webdav/draft-ietf-httpbis-jfv-02.html#rfc.section.3>.

Best regards, Julian
Received on Thursday, 27 October 2016 10:35:53 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 27 October 2016 10:35:58 UTC