KingNOB
KingNOB

Reputation: 99

Displaying JSON string on the Browser

I am currently working on developing a python REST API. How can I display JSON string on multi-lines on my Browser?enter image description here

This is what I want. enter image description here

Upvotes: 0

Views: 1695

Answers (3)

akaJes
akaJes

Reputation: 3

Try this one Chrome extension https://chrome.google.com/webstore/detail/json-%3E-table/pjdecdkdljmchigbkalnblidepkeojda

Install and open JSON in browser

Upvotes: 0

David Yappeter
David Yappeter

Reputation: 1612

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

Upvotes: 1

Sujon Hossain
Sujon Hossain

Reputation: 96

Can you use this code.

 JSON.stringify(data, null, 4);

Upvotes: 1

Related Questions