Compute a list of RFC-6902-like operations to transform from into to.
Both are flat objects with primitive values.
Operations:
{ op: 'add', path, value } — key in to but not from.{ op: 'remove', path } — key in from but not to.{ op: 'replace', path, value } — key in both, value differs.Path: '/' + key. Sort ops by path.
Sample tests