flatten-tool
yj
flatten-tool | yj | |
---|---|---|
2 | 6 | |
101 | 924 | |
0.0% | - | |
5.4 | 3.6 | |
about 2 months ago | 4 months ago | |
Python | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flatten-tool
-
Select, put and delete data from JSON, TOML, YAML, XML and CSV files
* https://flatten-tool.readthedocs.io/en/latest/
It's maintained by Open Data Services Coop, where we use it as a component in several of our web & data pipeline tools for working with data that is published in a Data Standard.
- Show HN: Transform a CSV into a JSON and vice versa
yj
-
That's a Lot of YAML
For anyone looking for such a script, there's some CLIs that make it easy. One is `yq -o props` [1], another way is to use `yq -j` or `yj` [2] to convert to JSON and pipe it to `gron` [3].
[1] https://github.com/mikefarah/yq
[2] https://github.com/sclevine/yj
[3] https://github.com/tomnomnom/gron
- Conversion of HCL to/from JSON
-
Tombl – Easily query .toml files from bash
Also checkout yj[1] which can convert between various formats among toml->json
[1]: https://github.com/sclevine/yj
-
What excites you about being a DevOps engineer?
json is just a subset of yaml. https://github.com/sclevine/yj
- Select, put and delete data from JSON, TOML, YAML, XML and CSV files
-
docker-compose.toml
This requires yj and obviously docker-compose to be on your $PATH. You can use yj to convert your docker-compose.yaml to TOML like this
What are some alternatives?
ndjson.github.io - Info Website for NDJSON
www.yaml.org - The yaml.org website
flatterer - Opinionated JSON to CSV/XLSX/SQLITE/PARQUET converter. Flattens JSON fast.
noyaml - A silly emotional rant about the state of devops tooling/the infrastructure sector in 2018. #noyaml.com
jsonmatic - ⚗️ Transform a CSV (spreadsheet) into a JSON.
hjson - Hjson, a user interface for JSON
ndjson - Streaming line delimited json parser + serializer
tombl - Easily query TOML files from bash
miller - Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON
rq - Record Query - A tool for doing record analysis and transformation
brackit - Query processor with proven optimizations, ready to use for your JSON store to query semi-structured data with JSONiq. Can also be used as an ad-hoc in-memory query processor.