Vishnu's Blog

Vishnu's Blog

6 JSON Tools to Improve Your Productivity

6 JSON tools that developer should know

6 JSON Tools to Improve Your Productivity

Subscribe to my newsletter and never miss my upcoming articles

JSON is a data format with a number of data types such as strings, booleans, lists, numbers, objects, etc... It is one of the popular, easiest, and lightweight and formats used for interaction between services. In this blog post, I will list down 10 JSON tools that help to improve your parse, format, and visualize JSON in a better and easier way.

1. JSON Formatter

JsonFormatter helps to

  • Format/ Beautify JSON
  • Validate JSON
  • Minify JSON
  • Convert JSON to XML, YAML, CSV

json-formatter-sample.png

2. JSONLint

JSONLint is a validator and reformatter for JSON. We can copy and paste, or we can also directly type or input a URL in the editor and let JSONLint validate our messy JSON code.

json-lint-sample.png

3. JSONView Chrome Plugin

JSONView is a Chrome Plugin that offers features of JSON support, Syntax highlighting, Collapsible trees, with indent guides, Clickable URLs, Toggle between raw and parsed JSON.

jsonview-sample.png

4. JSON to POJO

JSON2CSHARP is another cool online tool that helps to convert JSON to C# or Java Classes. This tool pretty much saves time for you in generating classes to map and parse JSON fields.

json-to-java-pojo.png

5. JSON to POJO In any Programming Language

Quicktype is another great online tool that helps to convert JSON to classes/structs in any one of the following programming languages. It supports

  • Go
  • Java
  • Python
  • Ruby
  • Swift
  • Objective-C and many more...

json-to-golang-struct.png

6. JSON Pretty Printer

JSON Pretty Printer utility prints JSON data in a legible, indented format. It provides the most benefit to people who are used to the command line. This tool is pretty useful for developers building or consuming JSON-based APIs.

curl http://api.plos.org/search\?q\=title:%22Drosophila%22%20and%20body:%22RNA%22\&fl\=id\&start\=1\&rows\=3 | json_pp

Response Looks like

{
   "response" : {
      "numFound" : 1400,
      "docs" : [
         {
            "id" : "10.1371/journal.pone.0188133"
         },
         {
            "id" : "10.1371/journal.pbio.1000320"
         },
         {
            "id" : "10.1371/journal.pbio.0000060"
         }
      ],
      "start" : 1
   }
}

Hope you like the article.


Thank you for reading

Hope you find these resources useful. If you like what you read and want to see more about system design, microservices, and other technology-related stuff... You can follow me on

Interested in reading more such articles from vishnu chilamakuru?

Support the author by donating an amount of your choice.

Recent sponsors
 
Share this