Re: Last Call: <draft-ietf-appsawg-json-patch-08.txt> (JSON Patch) to Proposed Standard

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

 



On 12/12/2012, at 2:25 AM, Barry Leiba <barryleiba@xxxxxxxxxxxx> wrote:

> 1. Do I have this right, or am I mistaken about the result of that operation?

The former.

> 2. Assuming I have it right, can someone explain why it's this way?

"add" has the semantics of "make the value *this*".

"replace" has the semantics of "make the existing value *this*"; if there isn't an existing value, it's an error.


> 3. Can someone explain why this is the right way to specify it, rather
> than using "replace" for this?

As has already been mentioned, there are multiple tools in the box.

Cheers,


--
Mark Nottingham   http://www.mnot.net/






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