Resty - a bash REST client
github.com
github.com
Syntax and the real meat: http://goessner.net/articles/JsonPath/
My rough-and-ready wrapper: http://github.com/skorgu/pyjsonpath/tree/master
$ resty 42; echo $?
resty: curl returned error 42
0
$
(curl was never called.)