Code Monkey home page Code Monkey logo

jsoncompare.com's People

Contributors

buildinteractive avatar finom avatar peternotenboom avatar r4chi7 avatar toddynho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jsoncompare.com's Issues

Suggestion: Automatically open on specific settings

One of my favorite things about the old JSON Lint was how immediately I could get a pretty formatted JSON. It was a quick ctrl+V and a click and voila. I know this is a very small thing, but with the new JSON Compare tool, there are a few extra steps, which for me personally, are to pick the "Beautify (tabs)" option from the settings dropdown, and click on the Fullscreen button. While the mere presence of these options is a good thing as it adds more variants to the functionalities, this breaks the flow a little bit from the previous usage of the tool.

A solution I envision for this would be to have more configurations set on the URL of the page, for instance https://jsoncompare.com/#!/simple?settings=tabs&fullscreen=true would open up the "simple" page on the "Beautify (tabs)" setting and on fullscreen. I could then bookmark this URL and have my own tailored quick & easy experience

Error message obstructs the editor

Error message obstructs the editor, if the error is in the last line. Happens both on and off full screen.

Steps to reproduce:

  1. Browse to the URL https://jsoncompare.com/#!/simple/
  2. Paste a multi-line JSON into the editor.
  3. Introduce an issue in the last line. Either delete the last "]" or "}".
  4. Click on "Lint".

image

Parse error with apparently valid JSON

I have this JSON:

{
"query":"query {
	form.test-graphql {
		_id
		field_name
		field_date
		field_number
	}
","variables":{},"operationName":null}

That is validated and loaded by jsonviewer.

But, with JSONCompare I get this error:

Parse error on line 2: {"query":"query { form.test-
 ---------^ Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'

What could be the problem?

Thanks :)

There is no way to have two or more linters open without trying to diff them

The previous version of pro json linter had the ability to have multiple linters open at once and I can't seem to find a way to do that with the current version. The only thing I see if the diff linter but I don't want them to compare. Is there a way I can have multiple linters open on one tab without trying to diff them? There are many cases I just want to look at multiple json blobs without actually doing a diff on them.

VS Code addon

Hi, have you considered a creation of a VS Code add-on?

No longer formats JSON?

The best part of the jsonlint was that it formats the JSON, has this now been removed from the advanced version?

limitation on merging

This tool is cool.

But it seems that there is some limitation about this tool:
image

It's not able to sync the only "a": 2 from right side to left side, neither "b": 3 .

Could your give some explanation about how this tool works? It's base on the text comparsion or base on JSON object comparsion?

JSONLinesLint?

Thank you for JSONLint.

I'd like a variant, or perhaps an option added to JSONLint, that validates JSON Lines.

That is, I want to paste in multiple lines of JSON Lines, and have JSONLint validate each line as a separate JSON object.

I understand at least some of the repercussions of what I'm asking for. For example, reformatting: inserting line breaks in JSON = pretty; inserting line breaks in JSON Lines = pretty ugly ๐Ÿ˜„.

Code folding could use some improvements

Since an array of objects doesn't get a linebreak between the [ and {, when you attempt to collapse the entire array only the first object collapses:

image

Also, if an array with multiple objects exist with no linebreaks pre-formatting, then they are kept without linebreaks by the formatter (e.g. }, {) which results in this:

image

Note that every other object itself is collapsed and the remaining objects can't be collapsed.

If I add a linebreak between [ and { and then collapse the array, it works as expected, hiding all of the array contents.

HttpCode: 413

After calling POST https://jsoncompare.com/api/save, it returns code 413

Support JSON Schema

Just tossing this idea out there. Saw this article today and also had to use jsoncompare.com.

I haven't put much additional thought into the idea but figured it's worth a discussion.

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.