Re: FYI: JSON parsing

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