Is there an [XSLT](http://www.w3.org/TR/xslt) equivalent for JSON? Something to allow me to do transformations on JSON like XSLT does to XML.
['https://Stackoverflow.com/questions/1618038', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/147141/']
[jq - lightweight and flexible command-line JSON processor](http://stedolan.github.io/jq/)

It's not template-based like XSLT, but more concise. e.g. to extract `name` and `address` fields into an array: `[.name, .address]`

The [tutorial](http://stedolan.github.io/jq/tutorial/) walks through an example of transforming Twitter's JSON API (and the [manual](http://stedolan.github.io/jq/manual/) has many examples).
it is very possible to convert JSON using XSLT: you need JSON2SAX deserializer and SAX2JSON serializer.

Sample code in Java:
<http://www.gerixsoft.com/blog/json/xslt4json>