Re: [Json] FYI ECMA, W3C, IETF coordination on JSON

"Peter F. Patel-Schneider" <pfpschneider@gmail.com> Tue, 08 October 2013 19:49 UTC

Return-Path: <pfpschneider@gmail.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 18F4521F936F for <json@ietfa.amsl.com>; Tue, 8 Oct 2013 12:49:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.894
X-Spam-Level:
X-Spam-Status: No, score=-2.894 tagged_above=-999 required=5 tests=[AWL=-0.295, BAYES_00=-2.599]
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 tkXPg7OiuvEY for <json@ietfa.amsl.com>; Tue, 8 Oct 2013 12:49:05 -0700 (PDT)
Received: from mail-qc0-x229.google.com (mail-qc0-x229.google.com [IPv6:2607:f8b0:400d:c01::229]) by ietfa.amsl.com (Postfix) with ESMTP id 2A55921F8F2A for <json@ietf.org>; Tue, 8 Oct 2013 12:49:00 -0700 (PDT)
Received: by mail-qc0-f169.google.com with SMTP id c9so6384838qcz.0 for <json@ietf.org>; Tue, 08 Oct 2013 12:48:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=KqFr7m8b5be4Ben7pF/0XS+P+CEekX4W45MyEiKrXAc=; b=WUm21W6WhNvtPWpeikyP2U30C1Dyc6YMcKV7/Z1KlQO2oMur9A6r6DuJGQIXCxkJ2K PV9CARXAlD3c6TMayJj8P0g7vQa/A8Br0R5ysKSOZlv649C6tIylyp+srppGODrMzwcr LM9QuhuCyPfQ9HIfQAzOo6P4w7pe5g9tjFDNVSytnlUL75NJXGFogGXYek2ETa0Bw8hf v90RhO0Ba8Pzj8tacpk17+kgQowALvGpL1TUbTS1/urV6yDkc2AStckyNVj4JRZH6BbA pEim8mey8OaebNNaMfEPwUZ8mPxKPdYduFm4PYA/omaSHY5Hjbw4WGmj0L05T2c9ODzL F9wQ==
X-Received: by 10.224.89.73 with SMTP id d9mr6100251qam.5.1381261739406; Tue, 08 Oct 2013 12:48:59 -0700 (PDT)
Received: from [192.168.1.104] (out-on-245.wireless.telus.com. [207.219.69.245]) by mx.google.com with ESMTPSA id n7sm77413071qai.1.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 08 Oct 2013 12:48:58 -0700 (PDT)
Message-ID: <5254619E.7040407@gmail.com>
Date: Tue, 08 Oct 2013 12:48:46 -0700
From: "Peter F. Patel-Schneider" <pfpschneider@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130805 Thunderbird/17.0.8
MIME-Version: 1.0
To: Brian Kardell <bkardell@gmail.com>
References: <C68CB012D9182D408CED7B884F441D4D3482260661@nambxv01a.corp.adobe.com> <CAHBU6ivjOHyfMeSNPK3+A_4+VVsyH5Y9XDj77J01OZCjdB6wmA@mail.gmail.com> <525429ED.5000705@gmail.com> <04FC3123-33A4-40DA-AD5D-DA543435DE56@wirfs-brock.com> <20131008164219.GA16081@mercury.ccil.org> <52544E3C.7000907@gmail.com> <CAHBU6it5Gw-JDWZk1AdqoCe_i-jqwUu3eMLrbZZe1VC3uVFkuw@mail.gmail.com> <525455D4.8090105@gmail.com> <CADC=+jeB21vKkEr-Py0WTKgfLxUeprqXb2pqU51Q9cch-_EaCg@mail.gmail.com>
In-Reply-To: <CADC=+jeB21vKkEr-Py0WTKgfLxUeprqXb2pqU51Q9cch-_EaCg@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: Allen Wirfs-Brock <allen@wirfs-brock.com>, John Cowan <cowan@mercury.ccil.org>, JSON WG <json@ietf.org>, Tim Bray <tbray@textuality.com>, Larry Masinter <masinter@adobe.com>, "www-tag@w3.org" <www-tag@w3.org>
Subject: Re: [Json] FYI ECMA, W3C, IETF coordination on JSON
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: Tue, 08 Oct 2013 19:49:06 -0000

I had first thought that JSON was really really interoperable.  Then I saw all 
the problems JSON-LD had with JSON.  Then I looked closer and saw the problems 
in JSON with numbers, and strings, and arrays. Then I said to myself "There 
really is no problem - although the syntax of JSON is too loose, and the 
description is too loose, everyone interprets JSON as if it was transmitting 
ECMAScript values."  Then I realized that this is not the case, and, moreover, 
that even ECMAScript JSON doesn't match the intuitive description of JSON.

So I would say that JSON is only interoperable if you don't care too much 
about interoperability, and you don't hit any of the really ugly corner cases.

So why then is JSON so successful?  Well, it's easy to write, easy to read, 
matches programming language data fairly closely, and either you are both 
producer and consumer or you don't care that your system works correctly all 
the time so you don't care that JSON does not support interoperability.

peter

On 10/08/2013 12:21 PM, Brian Kardell wrote:

[...]
>
> So I guess my big question I keep asking myself is this:  Despite the fact 
> that it didn't involve standards bodies and committees to get out the door - 
> JSON is really *really* interoperable.  There are potentially some edge 
> cases, but given its importance to the Web it does seem like the ECMA 
> version is the most important baseline here.  If we want to make 
> improvements, why not just invent some other thing - not JSON... Call it 
> "super json" or "phil" or - just something else...And let that something 
> else attempt to address perceived problems and make some minor comments 
> about the ability to parse a subset of it with the standard JSON parsers 
> that conform to ECMA-404 or something and then go out there and compete and 
> see if it actually does better.  Maybe it will and we can all go have beers 
> and laugh about it, but - maybe it won't and at least we don't have to break 
> things.
>
>
> -- 
> Brian Kardell :: @briankardell