Re: [Json] JSON merge alternatives

"Manger, James" <James.H.Manger@team.telstra.com> Thu, 20 March 2014 00:55 UTC

Return-Path: <James.H.Manger@team.telstra.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 5FB401A0864 for <json@ietfa.amsl.com>; Wed, 19 Mar 2014 17:55:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.202
X-Spam-Level:
X-Spam-Status: No, score=-0.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_AU=0.377, HOST_EQ_AU=0.327, RCVD_IN_DNSWL_NONE=-0.0001, RELAY_IS_203=0.994] 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 MZU2sYbkoT8s for <json@ietfa.amsl.com>; Wed, 19 Mar 2014 17:55:15 -0700 (PDT)
Received: from ipxano.tcif.telstra.com.au (ipxano.tcif.telstra.com.au [203.35.82.200]) by ietfa.amsl.com (Postfix) with ESMTP id CA94E1A085D for <json@ietf.org>; Wed, 19 Mar 2014 17:55:13 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.97,690,1389704400"; d="scan'208";a="193334126"
Received: from unknown (HELO ipcbni.tcif.telstra.com.au) ([10.97.216.204]) by ipoani.tcif.telstra.com.au with ESMTP; 20 Mar 2014 11:55:03 +1100
X-IronPort-AV: E=McAfee;i="5400,1158,7382"; a="208412708"
Received: from wsmsg3755.srv.dir.telstra.com ([172.49.40.196]) by ipcbni.tcif.telstra.com.au with ESMTP; 20 Mar 2014 11:55:03 +1100
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by WSMSG3755.srv.dir.telstra.com ([172.49.40.196]) with mapi; Thu, 20 Mar 2014 11:55:03 +1100
From: "Manger, James" <James.H.Manger@team.telstra.com>
To: Nico Williams <nico@cryptonector.com>
Date: Thu, 20 Mar 2014 11:55:02 +1100
Thread-Topic: [Json] JSON merge alternatives
Thread-Index: Ac9D1Udhj4YB2WtfRceojJoCuRIiDAAAPy5Q
Message-ID: <255B9BB34FB7D647A506DC292726F6E115406DABA3@WSMSG3153V.srv.dir.telstra.com>
References: <20140319234549.GA3471@localhost> <255B9BB34FB7D647A506DC292726F6E115406DAAF6@WSMSG3153V.srv.dir.telstra.com> <CAK3OfOhfosk6Meue+cS7uiy5O1CqxPzCqUHddjTw1j+UMSY8rQ@mail.gmail.com>
In-Reply-To: <CAK3OfOhfosk6Meue+cS7uiy5O1CqxPzCqUHddjTw1j+UMSY8rQ@mail.gmail.com>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US, en-AU
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/json/qAZO1YhkJ4vXvVKBdjYgaViZdgE
Cc: "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] JSON merge alternatives
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, 20 Mar 2014 00:55:16 -0000

>> draft-ietf-appsawg-json-merge-patch "JSON Merge Patch" is a simpler subset of proposal 1. It is designed to work well with JSON objects, and objects nested in objects etc. Its main limitation (compared to proposal 1) is that it doesn't support insert/replace for individual array elements.

> Right.  Why not just drop draft-ietf-appsawg-json-merge-patch?

Because it is creates intuitive and succinct patches for many most common cases.

--
James Manger