You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When json diff is run this results in 2 op's -> 1 change 1 remove.
I would like to merge 2 json's essentially by applying patch operations.
There is no way to disable the removal operations. I was thinking about building my own processor but this is not possible as far as I can see.
The text was updated successfully, but these errors were encountered:
I'm not really clear on what you're aiming for.. there are two changes in your example. Do you mean you want to get two separate JSON diffs representing each change in sequence? If so, you can easily just take the resulting array and just index it...
Question
I would like to only replace/add json content to existing json content.
I don't want a subset request to remove my already populated properties.
An example:
Existing json content:
{"firstName": "John", "age": 18}
Proposed json content
{"firstName": "Richard"}
When json diff is run this results in 2 op's -> 1 change 1 remove.
I would like to merge 2 json's essentially by applying patch operations.
There is no way to disable the removal operations. I was thinking about building my own processor but this is not possible as far as I can see.
The text was updated successfully, but these errors were encountered: