'Displaying JSON string on the Browser
Solution 1:[1]
Can you use this code.
JSON.stringify(data, null, 4);
Solution 2:[2]
If you are using chrome or microsoft edge, you can install extension https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa?hl=id To pretty print json
Solution 3:[3]
Try this one Chrome extension https://chrome.google.com/webstore/detail/json-%3E-table/pjdecdkdljmchigbkalnblidepkeojda
Install and open JSON in browser
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Sujon Hossain |
Solution 2 | David Yappeter |
Solution 3 | akaJes |