Videos
Hello guys. So I've been using Smart JSON Editor as my JSON editor of choice for the last couple of years.
However this app has not been updated for like 3 years and thus it's not native for ARM (now I got an M1 Pro MacBook Pro).
I know it's not a big deal to run it in Rosetta (especially something like a JSON editor), but I would rather use an app that's been actively developed (this app was last updated when macOS Mojave was released).
Recommendations with a nice and modern UI would be more appreciated, but at this point I doubt they even exist hahaha
Jsoneditor is a browser-based editor that you can deploy locally or use the ad-sponsored online version provided by the author. It's handy for small JSON files, and I find it the easiest and most feature-full. It will highlight broken json, but it's not a 100% compatible validator like https://jsonlint.com/ because, for example, it treats raw tabs as valid within strings although this is not allowed by the JSON spec.
JSONMate seems to be a usable open-source project with an online editor which probably won't be able to handle large files, but you can fork it on github, adapt to your needs and run it locally.
Intellij Idea and derivatives have decent JSON support, but large files take time to load.
SublimeText is also usable for JSON if you install the plugins for beautifying and extra features.
For windows XMLMarker does a good job as an XML and JSON visualizer, but the last version which added JSON support is a limited trial.
Disclaimer: I am not affiliated with any of these tools, authors or projects.
Checkout Jason, although it appears to be no longer maintained since Osx 10.7, I just opened a JSON in it with Osx 10.11 and it works ok.
Please Note: since it is no longer maintained it is likely going to be unreliable.
Alternatively, I have opted for an online browser-based JSON editor:
- http://jsoneditoronline.org/
It is surprisingly fast, allowing you to browse the tree, search values, edit values, insert values, reorder values, even duplicate values. You can even drag and drop stuff around to really get creative :) Unfortunately, you can't see the filename of the json you are editing, but you can open up new browser tabs for multiple json file editing at once.
You could use this add-on for Firefox : JSONView
Normally when encountering a JSON document (content type "application/json"), Firefox simply prompts you to download the file. With the JSONView extension, JSON documents are shown in the browser similar to how XML documents are shown. The document is formatted, highlighted, and arrays and objects can be collapsed. Even if the JSON document contains errors, JSONView will still show the raw text.
jsonpretty for pretty-printing JSON at the command line.
sudo gem install jsonpretty