Do you want to validate JSON response of your application REST APIs? For a large JSON, it is easy to use JSON schema for validation. In this post, we will see how to validate JSON response with JSON Schema in Postman using ajv validator. BrijPad – Online tool allows you to generate and validate JSON Schema. We will use it to generate Schema.
Read Also: Inspect JSON Easily with BrijPad
For a web developer, it is common to view & analyze the JSON returned by an API to the browser and generally, Chrome Developer tools is used for this. You can click on Network tab, select the XHR item and can get JSON in Response and Preview tabs in Chrome developer tools. Fortunately, there are quite a few free online JSON viewers that you can use. Now, BrijPad 2.0 also allows you to inspect and analyze JSON quickly. You can paste the JSON code and visualize the data. I saw many online tools but didn’t get any tool which filters JSON by selecting field in TreeView (It is very helpful in case of large JSON) so I decided to implement it and added it in BrijPad 2.0.
Read Also: Chrome Developer Tools: Inspect JSON path and extract data quickly
Approx one month ago, I launched BrijPad – An Online Fast Development Tool. First, I thank you all for giving feedback. I have received lots and it is wonderful of you to take the time to read and comment. I got some expected points and some new points to make it attractive. Being a weekly blogger, I can’t go fast, but have added some required functionality and new features. This post explains the new features and functionality.
After a long time, I am writing this post. I have been getting many feedback for the tools. To make it more simple, I decided to create an editor for the tools. I have implemented and gave the name ‘BrijPad’. It has functionality of the tools in new way in MS-office style with some new features. Here are the quick view of BrijPad.