Re: [Json] [apps-discuss] merge-patch in APPSA and i-json in JSON
Larry Masinter <masinter@adobe.com> Thu, 10 July 2014 17:47 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 B1E841B292E; Thu, 10 Jul 2014 10:47:43 -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 9NwBIq1mdUHw; Thu, 10 Jul 2014 10:47:41 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0238.outbound.protection.outlook.com [207.46.163.238]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 796801B292C; Thu, 10 Jul 2014 10:47:41 -0700 (PDT)
Received: from BL2PR02MB307.namprd02.prod.outlook.com (10.141.91.21) by BL2PR02MB306.namprd02.prod.outlook.com (10.141.91.19) with Microsoft SMTP Server (TLS) id 15.0.985.8; Thu, 10 Jul 2014 17:47:39 +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 17:47:39 +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+T38hQFzLpuZjxaA
Date: Thu, 10 Jul 2014 17:47:39 +0000
Message-ID: <4ee005b6cf4043b6b5cbe8493e82f14f@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>
In-Reply-To: <7B8DAF84-E799-46A5-BC55-5BF34000A548@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)(189002)(199002)(76104003)(46102001)(64706001)(99286002)(20776003)(2656002)(110136001)(81342001)(99396002)(74662001)(33646001)(106356001)(95666004)(31966008)(87936001)(105586002)(101416001)(93886003)(15202345003)(107046002)(80022001)(83072002)(19580395003)(66066001)(76176999)(85852003)(77982001)(15975445006)(74502001)(76482001)(76576001)(79102001)(92566001)(86362001)(54356999)(50986999)(81542001)(74316001)(21056001)(106116001)(83322001)(85306003)(108616002)(24736002); DIR:OUT; SFP:; SCL:1; SRVR:BL2PR02MB306; 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/Agq15QktVzYOuJmEBWurGH29HdM
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 17:47:43 -0000
> RFC 7159. Might you instead suggest better wording for what you think > we should say about what the MergePatch operation works on? Here's an attempt: === The MergePatch operation is defined to operate at an object level, not a textual level. There is no expectation that the MergePatch operation will preserve textual representation-level features such as white space, member ordering, number precision beyond what is available in the target's implementation, and so forth. In addition, even if the target implementation allows multiple name/value pairs with the same name, the result of the patch operation on such objects is not defined. === You could instead say that patch changes one of the values, all of the values, or consolidates them, nailing it down in the spirit of interoperability. 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. Larry -- http://larry.masinter.net
- [Json] merge-patch in APPSA and i-json in JSON Larry Masinter
- Re: [Json] [apps-discuss] merge-patch in APPSA an… Paul Hoffman
- Re: [Json] [apps-discuss] merge-patch in APPSA an… John Cowan
- Re: [Json] [apps-discuss] merge-patch in APPSA an… Paul Hoffman
- Re: [Json] [apps-discuss] merge-patch in APPSA an… Carsten Bormann
- Re: [Json] [apps-discuss] merge-patch in APPSA an… Paul Hoffman
- Re: [Json] [apps-discuss] merge-patch in APPSA an… Larry Masinter
- Re: [Json] [apps-discuss] merge-patch in APPSA an… Paul Hoffman
- Re: [Json] [apps-discuss] merge-patch in APPSA an… Carsten Bormann
- Re: [Json] [apps-discuss] merge-patch in APPSA an… Larry Masinter
- Re: [Json] [apps-discuss] merge-patch in APPSA an… Paul Hoffman
- Re: [Json] [apps-discuss] merge-patch in APPSA an… Larry Masinter
- Re: [Json] [apps-discuss] merge-patch in APPSA an… Joe Hildebrand (jhildebr)
- Re: [Json] [apps-discuss] merge-patch in APPSA an… Martin J. Dürst
- Re: [Json] [apps-discuss] merge-patch in APPSA an… Martin J. Dürst
- Re: [Json] [apps-discuss] merge-patch in APPSA an… Carsten Bormann
- Re: [Json] [apps-discuss] merge-patch in APPSA an… Carsten Bormann