Try out application/json-merge-patch

This site lets you try out the latest draft of draft-snell-merge-patch

The source code is on GitHub, and the Ruby gem powering the merge is the json-merge_patch gem by Steve Klabnik.

You can try from the command-line, too:

$ curl -i \
  -X GET \
  -H "Accept: application/json-merge-patch" \
  -d merge[original]={%22foo%22%3A%22bar%22}\
  -d merge[patch]={%22foo%22%3A%22baz%22}


HTTP/1.1 200 OK
Content-Type: application/json-merge-patch; charset=utf-8
Date: Sat, 18 May 2013 22:19:42 GMT
Content-Length: 13