Skip to main content

JSON - Online linter

ยท One min read
Christophe
Markdown, WSL and Docker lover ~ PHP developer ~ Insatiable curious.

JSON - Online linter

Exactly like my SQL - Formatting tool, it's always useful to have a tool in your favourites that lets you copy/paste a JSON character string and display it as a tree-view with or without code folding feature.

I use it quite regularly when I'm writing a JSON string and I want to check that there are no syntax errors (lint) or, on the other hand, and for example, when I call an API that returns JSON and I want to analyse the code received. In these cases, the collapse functionality comes in very handy.

Retrieve my JSON Linter tool and sources on https://github.com/cavo789/jsonlint.

The tool is accessible online: https://jsonlint.avonture.be/

Demo

Chrome Addonโ€‹

If you're using Chrome and if the web page output is a JSON string, the JSON Formatter addon will immediately display it in a readable form.

For instance, instead of getting this page:

Json webpage

Chrome will show this:

Chrome addon