class method SpahQL.DataHelper.compare
SpahQL.DataHelper.compare(original, delta[, atPath]) → Object
Compares two objects at the given path (defaulting to ”/”) and returns a hash of differences between the two, keyed by path. The hash has array values, each including a SpahQL modification symbol, the original data value and the delta data value.