Examples

The examples moved to task-oriented recipes, each with a tested command and its exact output. The sections below keep old links working.

Command line

See Command line.

Basic

See Command line: input.

Inline template

See Templates on the command line.

Stdin/REST

See Command line: input and REST response to SOAP request.

Append output file

See Command line: output.

Template

See the template guide.

XML to CSV

See Convert XML to CSV.

JSON to CSV

See Convert JSON to CSV.

JSON to HTML

See Generate an HTML report from JSON.

JSON to custom XML

See Convert JSON to XML.

XML to custom JSON

See Convert XML to JSON.

CSV to text

See Convert CSV to JSON.

mt940 to CSV

See Convert an MT940 bank statement to CSV.

Any SQL to XML

See Query any SQL database into XML or JSON.

MongoDump to CSV

See Convert a MongoDB dump (BSON) to CSV.

Dashes in key names

See Troubleshooting: keys with dashes.

Input autoformat to XXX

See Convert between JSON, YAML, TOON and BSON.

ChatGPT query

See Ask OpenAI about your data.

Multiple input files

See Merge several files into one output.