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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 8, 2013 at 9:52 AM, Jared Rosoff <jsr@xxxxxxxxx> wrote:
>
> 1) It seems like some of the examples raised on this thread conflate JSON
> documents with Javascript objects. According to the json spec, an object
> always starts with an "{" and ends with a "}". Therefore, while the json
> path "/1" could refer to elements in { "1": "a" } and [1,2], the latter is
> not a correct JSON object.

>From a JS shell session:

% JSON.stringify([1,2])
"[1,2]"

- Rob


[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Fedora Users]