We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code
var a = {as: '234', b: 3}; var observer = jsonpatch.observe(a); a.b = 4 a.as = 3 a.y = 7 var patches = jsonpatch.generate(observer);
Returns only last change:
[{ op: "add", path: "/y", value: 7 }]
The text was updated successfully, but these errors were encountered:
@fobdy could you please provide some more details? A complete html page would be perfect.
I have checked your scenario and my result is:
[ {"op":"replace","path":"/b","value":4}, {"op":"replace","path":"/as","value":3}, {"op":"add","path":"/y","value":7} ]
Sorry, something went wrong.
Closing as outdated (no response from original poster, looks like a non-bug to us)
No branches or pull requests
Code
Returns only last change:
The text was updated successfully, but these errors were encountered: