Hello, is there a way to do JsonDiff (needed for P...
# serialization
m
Hello, is there a way to do JsonDiff (needed for PATCH request) as in library for example https://github.com/beyondeye/kjsonpatch (still mostly in Java). So method with two JSON elements and return value is one JSON element? Or the 3rd party library is the only option. Thanks.
n
it does not seem impossible to port the library or write from scratch but you will end up with another 3rd part library... on top of serialization though from what i can see you need to diff 2 json elements (objects) and generate the json patch instructions to go from one to the other those algorithms should already exist, in the library you linked
m
Okay, thanks, working on it.
v
Could you please share what you ended up with for the JSON Diff challenge?
101 Views