mxcl/homebrew — pull request #19929 by tlehman (2013-05-19 18:22:44+00:00)
Title: jsonget 0.0.2

`jsonget` is a command-line tool for extracting values out from JSON. This is useful, for example, when you're curling a JSON api and just want to get a single value from it:

```
% curl http://openweathermap.org/data/2.0/weather/city/524901 | jsonget main.temp
259.92
```

Or multiple newline-separated values:

```
% curl http://openweathermap.org/data/2.0/weather/city/524901 | jsonget name main.temp wind.speed
Moscow
259.92
2
```

Or individual attributes from an array of like objects:
```
% echo '[{"price": 2.91, "name": "coffee"}, {"price": 4.95, "name": "beer"}]' | jsonget '*.price'
2.91
4.95
```