Transport-agnostic operation-rich peer-to-peer JSON synchronization. Open-source (MIT) on GitHub.
Here are two JSON editors. We simulate a 2-second latency between the two.