Archives
- March 2011 (2)
- August 2010 (1)
- July 2010 (4)
- June 2010 (1)
- November 2009 (1)
- October 2009 (1)
- September 2009 (1)
- August 2009 (1)
- July 2009 (1)
- June 2009 (5)
- May 2009 (1)
- February 2009 (2)
- January 2009 (1)
- December 2008 (1)
- September 2008 (1)
- August 2008 (1)
- June 2008 (4)
- May 2008 (5)
- March 2008 (5)
- January 2008 (1)
- September 2007 (1)
- July 2007 (6)
- June 2007 (2)
- May 2007 (2)
- April 2007 (1)
- March 2007 (3)
- February 2007 (2)
- November 2006 (1)
- October 2006 (2)
- May 2004 (1)
- April 2004 (2)
Tag Archives: yajl
Formatting JSON on the command line
If you ever work with JSON on the command line, try out the json_reformat tool included in yajl-tools package (or install from source). Without json_reformat $ curl http://github.com/api/v2/json/user/show/powdahound {“user”:{“gravatar_id”:”d5894734b9f67c07b276319fdc2e5d88″,”company”:”HipChat”, “name”:”Garret Heaton”,”created_at”:”2009/04/04 08:36:09 -0700″, “location”:”Sunnyvale, CA”,”public_repo_count”:18,”public_gist_count”:67, “blog”:”http://powdahound.com”,”following_count”:8,”id”:70472,”type”:”User”, “permission”:null,”followers_count”:7,”login”:”powdahound”, “email”:”powdahound@gmail.com”}} With json_reformat … Continue reading