3

JSON Validator for Notepad++? was closed, and none of the links there point to an actual validator for JSON data.

I don't need to reformat JSON, I want a visual cue that I've missed a comma or a bracket.

How do I make Notepad++ do this, even if only like it would in XML if I did not close a string?

Thanks!

6
  • 1
    mhhhmm ... so your question is asking for an actual plugin?
    – bummi
    Jan 8, 2019 at 21:17
  • 1
    @bummi well i wouldn't want to be asking for a software recommendation, but if you know of one i'll accept it as the answer :-)
    – aybiss
    Jan 9, 2019 at 4:40
  • 1
    @DrMoishePippik that looks really nice but i spend half my days editing XML, JSON, INI and so many other files in Notepad++. VisualStudio itself validates JSON if you load it up, but it takes so long to load the application it's not workable. I really do need to keep using my "one-stop-shop" text editor where I've defined macros and so forth, I just want to be able to do one more thing with it.
    – aybiss
    Jan 9, 2019 at 4:43
  • 1
    With the JSON Viewer plugin, you'll get an error message if the JSON is malformed.
    – Toto
    Jan 9, 2019 at 13:05
  • 1
    @Toto only if you close and reopen the viewer. And there's no keyboard shortcut to close it.
    – aybiss
    Jan 9, 2019 at 21:04

2 Answers 2

1

You can use Codverter JSON Validator, it`s online and highly secure, everything you do is interpreted on your local computer and never sent back to the server.
the validation error messages are informative and accurate.

(Full Disclosure: I am one of the developers).

enter image description here

1

The "Format JSON" option of the JSON Viewer will give an error if the JSON is not correct and also will select the incorrect text.

If the JSON is correct it will reformat but you can use undo (Ctrl+Z) to get it back to the previous format.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .