News for hackers. Stuff that matters.
Re:Jq - a lightweight and flexible command-line JSON processor by nekedorff on Sunday October 21, 2012 @01:32PM (#4680183)
Very nice tool! I'm getting syntax errors from the Twitter examples though (and everytime I try to use underscores):

<edit>Created an issue on Github</edit>

  curl 'http://search.twitter.com/search.json?q=json&rpp=5&include_entities=true | jq '.results[] | {from_user, text, urls: [.entities.urls[].url]}' 

  error: Invalid character
  .results[] | {from_user, text, urls: [.entities.urls[].url]}
                    ^
  error: syntax error, unexpected IDENT, expecting '}'
  .results[] | {from_user, text, urls: [.entities.urls[].url]}
                    ^^^^
  2 compile errors
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  100  5970  100  5970    0     0  11969      0 --:--:-- --:--:-- --:--:-- 23050
Re:Jq - a lightweight and flexible command-line JSON processor by stedolan on Sunday October 21, 2012 @03:25PM (#4680507)
(author here) That bug was fixed a while ago, but I forgot to upload new binaries. Try again, they should be working now.
Re:Jq - a lightweight and flexible command-line JSON processor by alexchamberlain on Sunday October 21, 2012 @01:50PM (#4680243)
Re:Jq - a lightweight and flexible command-line JSON processor by philip_roberts on Sunday October 21, 2012 @01:39PM (#4680204)
Same issue here.