Re: [Json] Radically changing 4627bis

Tim Bray <tbray@textuality.com> Wed, 09 October 2013 23:32 UTC

Return-Path: <tbray@textuality.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 15DC221F9C10 for <json@ietfa.amsl.com>; Wed, 9 Oct 2013 16:32:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.131
X-Spam-Level:
X-Spam-Status: No, score=-3.131 tagged_above=-999 required=5 tests=[AWL=-0.155, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YcArmjCAiBJa for <json@ietfa.amsl.com>; Wed, 9 Oct 2013 16:32:05 -0700 (PDT)
Received: from mail-vb0-f50.google.com (mail-vb0-f50.google.com [209.85.212.50]) by ietfa.amsl.com (Postfix) with ESMTP id 4169021E81DC for <json@ietf.org>; Wed, 9 Oct 2013 16:32:04 -0700 (PDT)
Received: by mail-vb0-f50.google.com with SMTP id x14so1060944vbb.37 for <json@ietf.org>; Wed, 09 Oct 2013 16:32:03 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=pUOlJgLSFqRx166XJsa+WTiw/ZcTXEvks4FMxbf0UNY=; b=OfGLTaDeMsHA9x2/l5ZNMKExF1ADzJkwtn0gNe94Qg7Bs+24mIhKPWP1n12wbRptba tNV6vaRYO9MTcrzhBN/UiPbQuG2QnAwq6HZIPT2vDQ0sl06IEh35a9yF5CLPWzAjoJ9Y tYO1X0eMLwHUDZvAgjFPedK2VmKd2pQYrGRujzYRo2UK6gzYEcwPSw6Vbv6T+N43DSHO lg51jqXtofknbkIi/Io6tJEFxHnM2GEDyP0PjxN3hW2nD0wyygUHBSplSGyNbzU1kfzQ NWZow1jfBdXh9KAliRRnUZm4z8oa4gjf9VZ5fto9r6b0Mtz0w93Hyx7uL2LHMQQBTA/C 4r+g==
X-Gm-Message-State: ALoCoQlA8A6XSqr9Y5Z3WJG0E+Uuwwp1sIGC594vUq6NQ+3G3Jm5YgJSSvy23EH2IJhmP76usf19
MIME-Version: 1.0
X-Received: by 10.52.232.8 with SMTP id tk8mr1675506vdc.76.1381361523568; Wed, 09 Oct 2013 16:32:03 -0700 (PDT)
Received: by 10.220.174.197 with HTTP; Wed, 9 Oct 2013 16:32:03 -0700 (PDT)
X-Originating-IP: [96.49.81.176]
In-Reply-To: <E2C3B3A8-3897-44B4-8C9B-A784F63EED59@vpnc.org>
References: <20131008234810.28645.8207.idtracker@ietfa.amsl.com> <CAHBU6isT8yv4-xf+cL0-RCdNu6DB=6G97MSaR7Z=F-Fz11BM3w@mail.gmail.com> <255B9BB34FB7D647A506DC292726F6E11531C3C187@WSMSG3153V.srv.dir.telstra.com> <E2C3B3A8-3897-44B4-8C9B-A784F63EED59@vpnc.org>
Date: Wed, 09 Oct 2013 16:32:03 -0700
Message-ID: <CAHBU6iv25XbpD8hZP7mQVjZaZ4PyQjmqBEiuQ3td0sJq9Q4=Lw@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: multipart/alternative; boundary="089e01183906eb444404e8574a46"
Cc: "Manger, James H" <james.h.manger@team.telstra.com>, "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] Radically changing 4627bis
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
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: Wed, 09 Oct 2013 23:32:10 -0000

The descriptions in ECMA 404 and 4627 and json.org and ECMA 262 and the
-bis draft are all isomorphic as respects JSON syntax.  Except for the ECMA
family doesn't impose the top-level array-or-object restriction.  Also 404
says nothing at all about dupes in objects and loses a few other bits &
pieces such as default encodings.

Thus there would be no benefit to a reader of -bis in making them go
anywhere else to learn the syntax because it’s the same everywhere.  So I
think the -bis draft helpfully covers the same syntax ground, while also
offering interoperability-problems advice.  I don’t see any benefit in
decomposing the -bis at this point.


On Wed, Oct 9, 2013 at 1:26 PM, Paul Hoffman <paul.hoffman@vpnc.org> wrote:

> <no hat>
>
> On Oct 8, 2013, at 5:38 PM, "Manger, James H" <
> james.h.manger@team.telstra.com> wrote:
>
> > But the publication of ECMA-404 means we should radically change 4627bis.
> > Lets do what ECMA-404 "Introduction" suggests other standards do:
> >
> >  It is expected that other standards will refer to this one, strictly
> >  adhering to the JSON text format, while imposing restrictions on various
> >  encoding details. Such standards may require specific behaviours. JSON
> >  itself specifies no behaviour.
> >
> > Lets reference ECMA-404 -- not repeating any of the syntax.
> > Define the media type.
> > Discuss the interop issues with surrogates, huge integers, decimal
> floats, duplicate names, comments, encodings.
> > Perhaps define terms such as "web-safe JSON" (for a subset of JSON) and
> "web-safe JSON parser" (for specific parser behaviour) that other specs
> using JSON can refer to.
> >
> > I guess this is close to Tim’s "Internet JSON" or "I-JSON" proposal.
> > It is time to drop the minimal 4627 update.
>
> A strong -1 on ripping out our syntax and pointing to ECMA-404. Our syntax
> matches their syntax, so there is not a conflict issue. ECMA-404 was
> supposed to be syntax-only, but they included semantics about Unicode
> (characters vs. code points) that were important enough to this WG to
> generate hundreds of messages on our mailing list. If we point to ECMA-404
> for the syntax only, and add in our semantics on interoperability, there
> will then be a conflict that will have a negative effect on developers who
> are trying to create interoperable implementations.
>
> --Paul Hoffman
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>