Git Product home page Git Product logo

Comments (3)

lukascivil avatar lukascivil commented on July 29, 2024 1

Hey @bmaranville,

It's a very interesting format, I almost followed something similar at first, but the difficulty of interpreting "move" made me not follow. And the understanding of having a result that could be minimalistic for database storage also helped to shape the json-diffrence lib.

What is a "moved" value? The union of two operations in the context of diff between two structures?

1- Op. remove
2- Op. add

And what if there are repeated values?

I didn't know this RFC, I really liked the proposal, I need to read it calmly.

But what would be your idea, 100% support for this RFC or basically followed the same output idea offered by "json-difference" but following RFC 6962 format?

from json-difference.

bmaranville avatar bmaranville commented on July 29, 2024 1

Thanks for looking into it! I was more interested in the latter: providing the same outputs, but in a format compatible with the spec.
In my use case I would be diffing and patching, so having a standard intermediate patch object gives the most flexibility.

from json-difference.

lukascivil avatar lukascivil commented on July 29, 2024 1

I think this PR will open some doors for us here. #40 and #43

from json-difference.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.