ietf
[Top] [All Lists]

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

2012-12-17 08:19:48
On Mon, Dec 17, 2012 at 2:01 AM, Robert Sayre <sayrer(_at_)gmail(_dot_)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

<Prev in Thread] Current Thread [Next in Thread>