Re: [Json] [apps-discuss] merge-patch in APPSA and i-json in JSON

Larry Masinter <masinter@adobe.com> Thu, 10 July 2014 20:40 UTC

Return-Path: <masinter@adobe.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 DC5181B29FE; Thu, 10 Jul 2014 13:40:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_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 2YGCvAdnKIsy; Thu, 10 Jul 2014 13:40:43 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0237.outbound.protection.outlook.com [207.46.163.237]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 09F121B29E8; Thu, 10 Jul 2014 13:40:43 -0700 (PDT)
Received: from BL2PR02MB307.namprd02.prod.outlook.com (10.141.91.21) by BL2PR02MB307.namprd02.prod.outlook.com (10.141.91.21) with Microsoft SMTP Server (TLS) id 15.0.980.8; Thu, 10 Jul 2014 20:40:41 +0000
Received: from BL2PR02MB307.namprd02.prod.outlook.com ([10.141.91.21]) by BL2PR02MB307.namprd02.prod.outlook.com ([10.141.91.21]) with mapi id 15.00.0980.000; Thu, 10 Jul 2014 20:40:41 +0000
From: Larry Masinter <masinter@adobe.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Thread-Topic: [apps-discuss] [Json] merge-patch in APPSA and i-json in JSON
Thread-Index: AQHPnFWujFcUbpANzkmg+T38hQFzLpuZjxaAgAAYpgCAABnWIA==
Date: Thu, 10 Jul 2014 20:40:40 +0000
Message-ID: <f1a0f112b4dc4fd0a0fe334272c9a996@BL2PR02MB307.namprd02.prod.outlook.com>
References: <13c1732c5d504e84b80cd82e5e8f05ab@BL2PR02MB307.namprd02.prod.outlook.com> <DE7ECD34-F035-46CC-B0B0-571039A86F3F@vpnc.org> <20140708190635.GD6016@mercury.ccil.org> <4CB92BF6-A5A0-4598-A25F-C3F51E1DFFD5@tzi.org> <7E9AAC20-63CC-48EC-81EE-3F53CB3DEF83@vpnc.org> <4e1c044bf224420f94d1ebfb584f40ff@BL2PR02MB307.namprd02.prod.outlook.com> <7B8DAF84-E799-46A5-BC55-5BF34000A548@vpnc.org> <4ee005b6cf4043b6b5cbe8493e82f14f@BL2PR02MB307.namprd02.prod.outlook.com> <4554206C-0046-4AF2-A893-55949EA9DCF5@vpnc.org>
In-Reply-To: <4554206C-0046-4AF2-A893-55949EA9DCF5@vpnc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [50.184.24.49]
x-microsoft-antispam: BCL:0;PCL:0;RULEID:
x-forefront-prvs: 0268246AE7
x-forefront-antispam-report: SFV:NSPM; SFS:(6009001)(51704005)(199002)(189002)(87936001)(74662001)(81542001)(76176999)(31966008)(19580395003)(92566001)(2656002)(101416001)(15202345003)(85306003)(76576001)(20776003)(99286002)(79102001)(77982001)(4396001)(106116001)(93886003)(99396002)(95666004)(46102001)(83072002)(74502001)(21056001)(85852003)(54356999)(106356001)(76482001)(50986999)(105586002)(33646001)(110136001)(83322001)(81342001)(107046002)(66066001)(86362001)(15975445006)(74316001)(80022001)(64706001)(108616002)(24736002); DIR:OUT; SFP:; SCL:1; SRVR:BL2PR02MB307; H:BL2PR02MB307.namprd02.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; LANG:en;
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: adobe.com
Archived-At: http://mailarchive.ietf.org/arch/msg/json/XyVFTDjxUvzX12Ufr6sa7sPttIY
Cc: "apps-discuss@ietf.org" <apps-discuss@ietf.org>, "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] [apps-discuss] merge-patch in APPSA and i-json in 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: Thu, 10 Jul 2014 20:40:47 -0000

> > I also think it would be advisable to disallow duplicate names
> > in application/merge-patch+json, but that requiring the other
> > features of I-json is unnecessary.
> 
> There is no need to re-argue what RFC 7159 says about this.

I don't want to re-argue the decision. I'm just wondering
"if i-json is useful, why isn't it useful for this?"

i-json is being proposed as an IETF RFC describing a particularly
interesting profile of JSON, giving it a special name, "I-JSON"
based on the claim that this profile is more interesting
than most other combinations of restrictions.

But here's an application (application/ merge-patch+json)
which -- as you point out -- doesn't mention I-JSON,
even though some of the constraints of "which instances
are meaningful to apply" would seem to be more easily
expressed as a well-known profile of JSON. Just not
I-JSON. The restriction on duplicate names is fine, but
there's no need to restrict numbers to IEEE precision
in the patch request.

Mergepatch is one data point, are there other JSON
application specs that COULD use i-json as a
normative reference?

If most cases of JSON application specifications that
need 'clean JSON input required for results to be
meaningful' profiles can't use I-JSON as a basis
for 'clean', it casts doubts as to defining I-JSON as
a category, rather than just a set of best practices.


Larry
--
http://larry.masinter.net