Re: [Json] Kicking Off JSONbis

"Peter F. Patel-Schneider" <pfpschneider@gmail.com> Tue, 17 November 2015 17:15 UTC

Return-Path: <pfpschneider@gmail.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 693FB1A1BB1 for <json@ietfa.amsl.com>; Tue, 17 Nov 2015 09:15:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 2_BNd49xtpFA for <json@ietfa.amsl.com>; Tue, 17 Nov 2015 09:15:27 -0800 (PST)
Received: from mail-qk0-x234.google.com (mail-qk0-x234.google.com [IPv6:2607:f8b0:400d:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EACD91A1BAE for <json@ietf.org>; Tue, 17 Nov 2015 09:15:26 -0800 (PST)
Received: by qkfo3 with SMTP id o3so5016341qkf.1 for <json@ietf.org>; Tue, 17 Nov 2015 09:15:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=yipGbC7MwO2r4rsHxvPYd/uJcDvI2zk7LFFtQoN1Ca4=; b=pa5dlbl8nCzhfKtjqLahTQXwjBe4ENx7b136J0XPMFoG5Fb0DlFIy5eIgjzQSQpqbM 6a7hrZg4V1k9RYCndtXbMYP9UvGYYr+I8Gcr40Pbj0QM29RPVbma6iwki54/RjDs3emX C0uurHAffBhv/kkSVGFCoX7RI43Ka6lAj6IPwz5ebtxHVgsRlUs3vQdJNNjkmL4WqeUW 3mpQPqWlF+4FUGQ/jXyCA0MVcrf3rr8b9EQNm27H0NOQZMyt9aKGs2dY3K2g6HXDNPSy L5yPSEY6eA3kfiJNV69ZYppVKcfkR7OgVDsT8eGJNTwZ9SD0hsGjw3Ys/zxXJjm2LDvG uTGg==
X-Received: by 10.55.75.84 with SMTP id y81mr41018214qka.96.1447780526094; Tue, 17 Nov 2015 09:15:26 -0800 (PST)
Received: from idefix.nuance.com ([199.4.160.88]) by smtp.gmail.com with ESMTPSA id 63sm10433685qgl.31.2015.11.17.09.15.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Nov 2015 09:15:24 -0800 (PST)
To: "Joe Hildebrand (jhildebr)" <jhildebr@cisco.com>, Tim Bray <tbray@textuality.com>
References: <DB74C466-D542-42D6-95B0-690A564435A9@cisco.com> <CAC4RtVD3cKThDTr_eS-QCUhKqZkMS0y+nPS5HxCk3f1RQ7VyJQ@mail.gmail.com> <CAHBU6iv_w_O95Nq-bU1z2GOKgouuGrMbZP4Uwio25pPtFCc3UQ@mail.gmail.com> <CALaySJ+==5_mstrgHEd7bUGzSo85Er9VR_zEaJ+gh-O+zSpK=w@mail.gmail.com> <88A80A45-E673-4D0A-995B-3872874C23AE@cisco.com> <CALaySJJ01gEoHqZ4ehVHzv8mqD1CXKV3Ave3yQPrgrAGe4yckg@mail.gmail.com> <CAHBU6iuxBvn3ug9LwcK9gvrQDLr1uz=3NCrcrZaejF2iUwiLVA@mail.gmail.com> <CAChr6SzuxZrCJ+Gfc9LkKX88SetAOTp3GpxpxVF1CmmT3j5MoQ@mail.gmail.com> <56241BFE.5080609@tzi.org> <2DB105A8-AB80-4386-915D-D9AD1FBF77AD@cisco.com> <CAHBU6it7Na+5=Xhdq+cOh8o0eNq_iuanWX_hKdpggPabUGfYgQ@mail.gmail.com> <73F1E21E-3E3D-4EFB-A1B2-AF713EA30461@cisco.com>
From: "Peter F. Patel-Schneider" <pfpschneider@gmail.com>
X-Enigmail-Draft-Status: N1110
Message-ID: <564B60AA.4080000@gmail.com>
Date: Tue, 17 Nov 2015 09:15:22 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <73F1E21E-3E3D-4EFB-A1B2-AF713EA30461@cisco.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/json/8VirTv7TMkvncRNnVHJMvaRJvGs>
Cc: "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] Kicking Off JSONbis
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 17 Nov 2015 17:15:28 -0000

On 11/17/2015 01:06 AM, Joe Hildebrand (jhildebr) wrote:
> 
> On 11/14/15, 7:55 PM, "Tim Bray" <tbray@textuality.com> wrote:
> 
>> ​I just re-read ECMA-404 (I recommend this, it doesn’t take long) and I
>> couldn't find examples of such specific choices, could you be more
>> specific?
> 
> They're not as much in 404 as they are in 262, which is referenced from
> 404.  For example, the double implementation for all numbers, leading to
> the 2^53-1 issue.  Also, some of the Unicode issues creep in through the
> same door.
> 
>> ​Actually ECMA-404 says exactly nothing about what any software should
>> do.​ (Maybe I missed it?)
> 
> I think it's implicit in 404's ties to 262.

The ties between ECMA-404 and ECMA-262 are very weak. There is even explicit
wording in ECMA-404 that JSON "does not attempt to impose ECMAScript’s
internal data representations on other programming languages."

[...]

>> 2. I don't like this sort of nudge-nudge, wink-wink language. If we want
>> to provide this language, don't tell them to go search 404 for
>> “interoperability challenges”. Rather, a simple statement along these 
>> lines would be appropriate.  “This document contains several
>> recommendations for best practices to avoid interoperability problems.
>> ECMA-404 enforces none of these, thus implementations based on it might
>> potentially emit JON texts which exhibit these problems.“
> 
> Perhaps we need to reference 262 explicitly as well, then.

Why?  If so, then why not reference other definitions of how JSON is
interpreted, for example how JSON is interpreted in Fortran?  I thought that
the whole idea of JSON was to not impose EcmaScript data structures or data
models or serializations or parsing on producers or consumers of JSON text.

[...]

peter