Subject: [httpwg/http-extensions] structured-headers: Has JSON been considered? (#538)

From: HTTP issue updates <[email-masked]>
Date: Tue, 27 Mar 2018 22:15:23 -0700

This is a question I got after publishing a first stab at [an implementation](http://github.com/evert/structured-header/). Was JSON considered as an alternative for this?

At least some reasons why I can think of why it wouldn't be good are:

* It doesn't encode binary data
* It's not as aesthetically pleasing, especially considering how HTTP headers generally 'look'.

However, parsers are everywhere and JSON has some properties that structured-headers doesn't have, such as deeper nesting, encoding `null` and it also solves #534

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/httpwg/http-extensions/issues/538