views:

81

answers:

4

https://search.twitter.com/search.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

+2  A: 

Parse it, then use pprint:

data = json.load(...)
pprint.pprint(data)
Ignacio Vazquez-Abrams
Or, more JSON-friendly, `print(json.dumps(data, indent=4, ensure_ascii=False))`.
Andrey Vlasovskikh
A: 

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.

Azeem.Butt
A: 

Personally, I use JSONView for Firefox, which does a good job formatting and colour-highlighting JSON.

freeatnet