m

    Michal Havryluk

    9 months ago
    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.
    Nikky

    Nikky

    9 months ago
    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

    Michal Havryluk

    9 months ago
    Okay, thanks, working on it.