https://search.twitter.com/sea开发者_如何转开发rch.json?q=doug
How do I read this like VIEW SOURCE, so that I know what I'm looking at? Is there a website that can prettify it for me?
BTW, I use python
Parse it, then use pprint
:
data = json.load(...)
pprint.pprint(data)
Personally, I use JSONView for Firefox, which does a good job formatting and colour-highlighting JSON.
You can also use something like http://hurl.it.
Insert a carriage return after every comma with your favorite search and replace utility. If you know Python then you shouldn't have any trouble getting it even prettier than that.
精彩评论