JSON Viewer: Free Tool To Parse and View Your API’s JSON Output
There are times when I’m working with JavaScript Object Notation (JSON) getting passed or returned from APIs and I need to troubleshoot how I’m parsing the array that’s returned. However, most of the time it’s difficult because it’s just a single string. That’s when a JSON Viewer comes in very handy so that you can indent the hierarchical data and then scroll through to find out the information you need.
JSON (JavaScript Object Notation) is a lightweight data-interchange format that is easy for humans to read and write and easy for machines to parse and generate. It is based on a subset of the JavaScript programming language, and is used to represent data structures in a text format that can be sent and received over a network.
Source: JSON {
“name”: “John Doe”,
“age”: 35,
“isMarried”: true,
“address”: {
“street”: “123 Main St.”,
“city”: “Anytown”,
“state”: “CA”
},
“phoneNumbers”: [
“555-555-1212”,
“555-555-1213”
]
}