Re: [Json] How to argue about I-JSON
Nico Williams <nico@cryptonector.com> Mon, 28 April 2014 19:24 UTC
Return-Path: <nico@cryptonector.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 720AE1A7031 for <json@ietfa.amsl.com>; Mon, 28 Apr 2014 12:24:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.044
X-Spam-Level:
X-Spam-Status: No, score=-1.044 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, IP_NOT_FRIENDLY=0.334] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mvNM48K66CTW for <json@ietfa.amsl.com>; Mon, 28 Apr 2014 12:24:54 -0700 (PDT)
Received: from homiemail-a96.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 6B21B1A702F for <json@ietf.org>; Mon, 28 Apr 2014 12:24:54 -0700 (PDT)
Received: from homiemail-a96.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a96.g.dreamhost.com (Postfix) with ESMTP id BCF043B805B for <json@ietf.org>; Mon, 28 Apr 2014 12:24:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=s30ltDF+E07QTrzDkwq6LzZ7ua4=; b=NJqvIxG48+k +Ex7pYMsm74o1ENEahlzZelu5r20bXT6SKyvHfdTxqqPGnZkwPOTBx9J1VoTpnXT oHQ74ZLJJ+Lv3A4YVtn7tGgn484dM0Bry4DO/LjuY7q1s/EyxO2McQZH5+s+c6L+ RYTOgiBSn208tCO2prTH3mv3Jd5xUl2M=
Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a96.g.dreamhost.com (Postfix) with ESMTPSA id 7189F3B8059 for <json@ietf.org>; Mon, 28 Apr 2014 12:24:53 -0700 (PDT)
Received: by mail-wg0-f43.google.com with SMTP id x12so2330767wgg.2 for <json@ietf.org>; Mon, 28 Apr 2014 12:24:52 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.216.68 with SMTP id oo4mr3025601wjc.69.1398713092287; Mon, 28 Apr 2014 12:24:52 -0700 (PDT)
Received: by 10.216.29.200 with HTTP; Mon, 28 Apr 2014 12:24:52 -0700 (PDT)
In-Reply-To: <CAHBU6iurWB29LujFibWBgcLMsH-n0Jkide_8gAR8fs_FEvoMRA@mail.gmail.com>
References: <CAHBU6iurWB29LujFibWBgcLMsH-n0Jkide_8gAR8fs_FEvoMRA@mail.gmail.com>
Date: Mon, 28 Apr 2014 14:24:52 -0500
Message-ID: <CAK3OfOgJcZZPbL+M9H35JuTftn7YFh_V7uozM2nLnJsLK2QARw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Tim Bray <tbray@textuality.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/json/9IhB_D5FJxv4sk5YPBxXWzQxEAM
Cc: "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] How to argue about I-JSON
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/json/>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Apr 2014 19:24:56 -0000
On Mon, Apr 28, 2014 at 1:16 PM, Tim Bray <tbray@textuality.com> wrote: > Argument 2 - Top-level > > draft-i-json-01 says the top level is an object (but doesn’t say MUST, eek). > I have heard arguments for allowing arrays too; anyone who thinks that is a > good idea should speak up. (I won’t.) This is really for indicating schema information in-band. But we already rely on indicating format out of band (via MIME type). I find in-band schema signalling in JSON to be a bad idea, especially when we can do it out-of-band anyways. Question: can schema information be encoded as a parameter to the application/json media type? > Argument 4 - Software behavior > > Section 3 of draft-json-01 implies draconian error handling - when a message > is specified to be i-json but the receiver finds, for example, a dupe key, > it is required to halt and catch fire. There’s a chance that this will be > interpreted as “tbray poisons JSON with XML draconianism”. People with > alternate language should suggest it. (I probably won’t argue this one > either way.) A bigger problem is that this requirement involves changes to existing parsers to meet it. Nico --
- [Json] How to argue about I-JSON Tim Bray
- Re: [Json] How to argue about I-JSON Phillip Hallam-Baker
- Re: [Json] How to argue about I-JSON Nico Williams
- Re: [Json] How to argue about I-JSON Matt Miller
- Re: [Json] How to argue about I-JSON John Cowan