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

Carsten Bormann <cabo@tzi.org> Wed, 09 July 2014 17:57 UTC

Return-Path: <cabo@tzi.org>
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 9257A1A8BB1; Wed, 9 Jul 2014 10:57:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.551
X-Spam-Level:
X-Spam-Status: No, score=-1.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, SPF_HELO_PASS=-0.001] autolearn=no
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 iwY6eP7WicAX; Wed, 9 Jul 2014 10:57:23 -0700 (PDT)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E28961A0304; Wed, 9 Jul 2014 10:57:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id s69Hv8wS005900; Wed, 9 Jul 2014 19:57:08 +0200 (CEST)
Received: from [192.168.217.106] (p54891137.dip0.t-ipconnect.de [84.137.17.55]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 5CBFDE9E; Wed, 9 Jul 2014 19:57:07 +0200 (CEST)
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <20140708190635.GD6016@mercury.ccil.org>
Date: Wed, 09 Jul 2014 19:57:05 +0200
X-Mao-Original-Outgoing-Id: 426621425.408012-4e4f4eaa488596eb56d8d9a96346f54a
Content-Transfer-Encoding: quoted-printable
Message-Id: <4CB92BF6-A5A0-4598-A25F-C3F51E1DFFD5@tzi.org>
References: <13c1732c5d504e84b80cd82e5e8f05ab@BL2PR02MB307.namprd02.prod.outlook.com> <DE7ECD34-F035-46CC-B0B0-571039A86F3F@vpnc.org> <20140708190635.GD6016@mercury.ccil.org>
To: John Cowan <cowan@mercury.ccil.org>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/json/_wchbvqKYVLvDhJEYTT9SJRl7kM
Cc: Larry Masinter <masinter@adobe.com>, Paul Hoffman <paul.hoffman@vpnc.org>, "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: Wed, 09 Jul 2014 17:57:24 -0000

On 08 Jul 2014, at 21:06, John Cowan <cowan@mercury.ccil.org> wrote:

> What is meant by "the Key/Value pair" if there is more than one?
> Are all such pairs to be removed or mutated, or only one of them?

It may have been intuitively obvious to the authors and reviewers, but may still be worthwhile mentioning in a sentence, that the merge-patch operation is defined at the level of the JSON data model.  Specifically, there is no expectation that merge-patch preserves representation level features such as white space, member ordering etc.

Grüße, Carsten