diff

Function diff 

Source
pub fn diff(old: &Value, new: &Value) -> Vec<Op>
Expand description

The ops that turn old into new.

Empty when they are equal, which is the common case for a subscriber whose corner of the state did not change — and the reason an idle client costs nothing.