Similar to our debugging resources, there are a lot of popular web tools that help us validate JSON that were building. JSONLint is one of the most popular web tools that are available for validate our JSON feeds.
JSONLint has a very straightforward interface that allows the user to paste the JSON they want to validate, and returns either a success message or an error message based on the JSON feed that we paste. Let us begin by validating a bad piece of JSON to see the error message returned, and then let us fix it to view the success message.
For this example, I will copy the students feed from the previous example, and add a trailing comma at the end of the second element:
Notice that we have added a trailing comma to the last item in our JSON object, and the best part about JSONLint is the descriptive...