A diff/patch pair and library for JSON data structures.
Project description
json-delta v0.1: A diff/patch pair and library for JSON data structures. (http://json-delta.readthedocs.org/)
JSON-delta is a multi-language software suite for computing deltas between JSON-serialized data structures, and applying those deltas as patches. It enables separate programs at either end of a communications channel (e.g. client and server over HTTP, or two processes talking to one another using bidirectional IPC) to manipulate a data structure while minimizing communications overhead.
This is the python implementation. It requires Python version 2.7 or newer (including Python 3). It can be installed in the standard way:
$ python setup.py install
(potentially needing superuser privileges). This will install a single module named json_delta, and scripts named json_diff, json_patch and json_cat.
HTML documentation for all four of these is included in the doc/ subdirectory, along with manpages for the scripts.
To run the tests, you will need nose installed (http://nose.readthedocs.org).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.