Recipes
Each recipe solves one task end to end: sample input, the command, the template and the exact output.
The sample commands are run by bafi's test suite, so their output is exactly what you get. Lines that
need outside services (curl, mongodump, OpenAI) are shown but not run.
Convert between formats
- Convert XML to JSON
- Convert JSON to XML
- Convert CSV to JSON
- Convert JSON to CSV
- Convert XML to CSV
- Convert between JSON, YAML, TOON and BSON
Integrate services
- Turn a REST (JSON) response into a SOAP request
- Turn a SOAP response into JSON
- Query any SQL database into XML or JSON
- Convert a MongoDB dump (BSON) to CSV
Reports and generated files
- Generate an HTML report from JSON
- Generate SQL INSERT statements from CSV
- Merge several files into one output
Finance
Going further
Missing a recipe? Ask in GitHub Discussions.