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
I don't believe this is currently supported out of the box. The library supports applyingJSON Merge Patches through merge_patch() function, but there is no counterpart "merge_diff" function to generate one. There are some considerations before implementing a general-purpose one (e.g. how to handle null values in source).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Activity
nickaein commentedon Mar 31, 2020
I don't believe this is currently supported out of the box. The library supports applying JSON Merge Patches through
merge_patch()function, but there is no counterpart "merge_diff" function to generate one. There are some considerations before implementing a general-purpose one (e.g. how to handlenullvalues in source).nlohmann commentedon Mar 31, 2020
@nickaein is right.
dota17 commentedon Apr 8, 2020
Is there a plan to support this case?
nlohmann commentedon Apr 11, 2020
There is no real specification for this. Merge requests are welcome!
stale commentedon May 13, 2020
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.