GithubHelp home page GithubHelp logo

Comments (7)

zgrossbart avatar zgrossbart commented on August 16, 2024

Thanks for using JSONDiff. What would this report look like? What format would you want to save?

from jdd.

vieirandre avatar vieirandre commented on August 16, 2024

For starters, I thought in a .pdf where you'd have the stats of differences at the top and the json below showing the inequalities inline.

from jdd.

zgrossbart avatar zgrossbart commented on August 16, 2024

Thank you for the report. I could develop a print CSS that would allow you to do that. Then you could use the browser to print to CSS. The problem is that the differences would nee to be dynamic and I'm not sure how to make that work in a PDF. Let me think about this some more, but this is a lower priority feature.

from jdd.

vieirandre avatar vieirandre commented on August 16, 2024

Just so we can get on the same page: what do you mean by “differences would need to be dynamic”?

I was thinking in the differences being displayed like Git's diff. That would be static.

from jdd.

zgrossbart avatar zgrossbart commented on August 16, 2024

The diff from JSONDiff is different than a diff from Git. JSONDiff will show multiple differences on the same line and the information you will will change as you iterate through your list of differences.

from jdd.

smitapaloalto avatar smitapaloalto commented on August 16, 2024

Hello, can we store the output in a pdf or JSON file? We want to take this difference and create a list for the customers to check what has changed in our jsons in different releases.

from jdd.

zgrossbart avatar zgrossbart commented on August 16, 2024

@smitapaloalto, generating a PDF file from a browser is a bit tricky. However, you can print to PDF and get a list of the differences between the two files. Right now the formatting on that PDF really isn't great, but I could develop a print CSS that would make it better. Would that give you the functionality you're looking for?

You can also take a look at our readme to see how you can create an URL where you can automatically load files to compare.

from jdd.

Related Issues (20)

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.