On Fri, Nov 14, 2008 at 09:09:03AM +1030, Antony Blakey wrote: > IMO the simplest thing that would work (ignoring representation) looks > something like this: > > insert <json> in <jsonpath> > insert <json> after <jsonpath> > insert <json> before <jsonpath> > delete <jsonpath> > replace <jsonpath> with <json> > > where jsonpath is roughly as: http://goessner.net/articles/JsonPath/ > without the executable expressions.
Hmm, this seems pretty cool. I did some digging to see what else is out there: * http://intertwingly.net/blog/2008/02/21/APP-Level-Patch * http://blog.mozilla.com/rob-sayre/2008/02/15/restful-partial-updates/ * http://www.snellspace.com/wp/?p=895 * http://lists.w3.org/Archives/Public/ietf-http-wg/2008JanMar/0316.html * http://www.snellspace.com/wp/?p=902 I think I agree that if this was to hit CouchDB it should be done via the PATCH method, makes the most sense given the context. -- Noah Slater, http://tumbolia.org/nslater