6 JSON Tools to Improve Your Productivity
Tags: javascript, webdev, productivity, discuss
Published: 2021-06-18 16:02:16

 [JSON](http://json.org)  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](https://jsonformatter.org/) helps to 
- Format/ Beautify JSON
- Validate JSON
- Minify JSON
- Convert JSON to XML, YAML, CSV


![json-formatter-sample.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1624028346960/9v_y9VMfJ.png)

## 2. JSONLint

[JSONLint](https://jsonlint.com/) 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](https://cdn.hashnode.com/res/hashnode/image/upload/v1624028666557/lAn_wglhn.png)

## 3. JSONView Chrome Plugin

[JSONView](https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc?hl=en) 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](https://lh3.googleusercontent.com/pU1ohvz2jA-ATpgro8SzrQVKH0-2L-MaMUrYU9luikwUeQ4nOK12vFUC1bPD65Oq7p0S7eTKANCmjN35enKNhe_i)

## 4. JSON to POJO 

[JSON2CSHARP](https://json2csharp.com/json-to-pojo) 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](https://cdn.hashnode.com/res/hashnode/image/upload/v1624029655343/PxLHE8wvL.png)

## 5. JSON to POJO In any Programming Language

[Quicktype](https://app.quicktype.io/) 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](https://cdn.hashnode.com/res/hashnode/image/upload/v1624030025792/QYsiCQGq6.png)

## 6. JSON Pretty Printer

[JSON Pretty Printer](https://github.com/deftek/json_pp) 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.

<hr>

## 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 

- Twitter - <a href="https://twitter.com/vishnuchi?ref_src=twsrc%5Etfw" class="twitter-follow-button" data-size="large" data-show-count="false">Follow @vishnuchi</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
- Subscribe to my weekly newsletter [here](https://www.getrevue.co/profile/vishnuch).