- From: Julian Reschke <julian.reschke@gmx.de>
- Date: Tue, 12 Jul 2016 06:45:33 +0200
- To: Carsten Bormann <cabo@tzi.org>
- Cc: Willy Tarreau <w@1wt.eu>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Yanick Rochon <yanick.rochon@gmail.com>, Phil Hunt <phil.hunt@oracle.com>, HTTP Working Group <ietf-http-wg@w3.org>
On 2016-07-12 00:35, Carsten Bormann wrote: >> Inside a JSON *object*, the wire format allows multiple instances of the >> same key (member name), and the recipient behavior for these cases is >> undefined. > > That is a rather liberal use of "allows". It definitely not "allowed", > but it is sure *possible* to send malformed JSON. It is allowed by the structure of the *wire format*. The *specification* has a "SHOULD have unique names", but then, that's only a SHOULD (exactly because we know we can't rely on it, otherwise we wouldn't have the prose about what recipients can do with it). > ... Best regards, Julian
Received on Tuesday, 12 July 2016 04:46:49 UTC