Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.1.0
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (15 sloc) 0.721 kb


gorgeous [-i] [-F <in-format>] [-T <out-format>] [-q <query>] [-o <destination>] FILE ...

This utility converts data between different formats. Formats are one of: json, xml, yaml, ruby, email, url

Input can be read from STDIN as well as files given on the command-line.


-i    Convert file in-place
-F    Input format
-T    Output format
-q    Query selector in format similar to XPath (see below)
-o    Write output to file instead of STDOUT

Query format:

"/items/comments[1]/text"    --  2nd comment body of each item
"/items[-1]/user/full_name"  --  name of user for last item
"//user/username"            --  usernames of all users anywhere in the document
Jump to Line
Something went wrong with that request. Please try again.