Re: [apps-discuss] Last Call: <draft-ietf-appsawg-json-pointer-07.txt> (JSON Pointer) to Proposed Standard

Robert Sayre <sayrer@gmail.com> Mon, 17 December 2012 14:19 UTC

Return-Path: <sayrer@gmail.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A09421F8AD9; Mon, 17 Dec 2012 06:19:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QbVaHuy9jzbL; Mon, 17 Dec 2012 06:19:17 -0800 (PST)
Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by ietfa.amsl.com (Postfix) with ESMTP id 61BEB21F8AD8; Mon, 17 Dec 2012 06:19:16 -0800 (PST)
Received: by mail-we0-f172.google.com with SMTP id r3so2884052wey.31 for <multiple recipients>; Mon, 17 Dec 2012 06:19:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bPRDAATgmUCEaJnH3bM6yXTOygKUIfD7uVvCVSvbUYY=; b=ulE0J5UDZOTZqqyJzvyLoKUBOEEBNw5qQVm1Ghb8mWbIJ+2bz/Hwwd/8Ji/Ibu5C2t y/gmcNuNq3trlb8OY+ezm7M4488MWRaqN16TdhWxF+z2nIGsCin/vEk1Fmqs2CWg/Ll+ 9rW2V+7yQca4BWYezyF6F/4N1ert66VnddtbqdQ4E11U1KqeZpWD6dpcYKvasMVSPZzD G9u4h+8/kPC6DB45OMXPa2ZMpxm+6safI7FdOzAR7ggCvCPQxXOpixCZgAdIXDta/Uz0 nAnT7BPLzWio6lmIiQ4TeLWTt+dBSD5G5YbJh4yNtLXXubq8LCPbpCAA0CPGNZOJGI5a QGUA==
MIME-Version: 1.0
Received: by 10.194.78.162 with SMTP id c2mr17262915wjx.46.1355753955529; Mon, 17 Dec 2012 06:19:15 -0800 (PST)
Received: by 10.194.1.101 with HTTP; Mon, 17 Dec 2012 06:19:15 -0800 (PST)
In-Reply-To: <CAChr6Sy-Xc8vC6FabFmdseR7xfQ-6t9hARunWjYgt6FqjmoBWg@mail.gmail.com>
References: <20121211150057.28223.93310.idtracker@ietfa.amsl.com> <50cb04b9.86df440a.72fe.1e20SMTPIN_ADDED_BROKEN@mx.google.com> <CABP7RbeNsZ_rBWRjou=VG+hBhUKaOz+y1a0sSChwWiHte9znnQ@mail.gmail.com> <50cb5f3c.694c420a.38fb.39afSMTPIN_ADDED_BROKEN@mx.google.com> <CAChr6SxZRc3B_HCbw76kLe2dsRSr43r-gLpfMVnCUfJTrZdTLA@mail.gmail.com> <CABP7RbfA33huBFadMeXTTEt=MkjW8-d4DFH7+GLXGurnm9sSRw@mail.gmail.com> <CAOXDeqpPE4eNy_qJpDPdPHbCQakG9-hDcNZ3Sj9r4kWedByVzQ@mail.gmail.com> <CAChr6SwtS_=iS-k4mJm1vHjEvvGVzay5jDYeGheqsPZqO-89CQ@mail.gmail.com> <EABB8F51-C3B4-49F5-8672-5C2ABAC7043A@mnot.net> <CAChr6Sy-Xc8vC6FabFmdseR7xfQ-6t9hARunWjYgt6FqjmoBWg@mail.gmail.com>
Date: Mon, 17 Dec 2012 06:19:15 -0800
Message-ID: <CAChr6SxiWZBZ2O6tdNmDUaufiCu=cg3hxJUrVJw7xiMmby70HA@mail.gmail.com>
Subject: Re: [apps-discuss] Last Call: <draft-ietf-appsawg-json-pointer-07.txt> (JSON Pointer) to Proposed Standard
From: Robert Sayre <sayrer@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: Matthew Morley <matt@mpcm.com>, IETF Apps Discuss <apps-discuss@ietf.org>, IETF Discussion <ietf@ietf.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Dec 2012 14:19:17 -0000

On Mon, Dec 17, 2012 at 2:01 AM, Robert Sayre <sayrer@gmail.com> wrote:
>
> The first case that can come up is editing documents that have been
> refactored. It's quite common to refactor JSON documents as below when
> a little extra metadata is needed for a collection:
>
> { "foo":[1,2,3] }
>
> then becomes
>
> {
>   "foo":
>   "bar": "baz",
>   "members": [1,2,3]
> }
>

Oh drat, I missed a pair of brackets here.

I meant:

{
  "foo":
  {
    "bar": "baz",
    "members": [1,2,3]
  }
}

- Rob