yj
flatten-tool
yj | flatten-tool | |
---|---|---|
6 | 2 | |
929 | 101 | |
- | 0.0% | |
3.6 | 5.4 | |
4 months ago | about 2 months ago | |
Go | Python | |
Apache License 2.0 | MIT License |
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.
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
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
What are some alternatives?
www.yaml.org - The yaml.org website
ndjson.github.io - Info Website for NDJSON
noyaml - A silly emotional rant about the state of devops tooling/the infrastructure sector in 2018. #noyaml.com
flatterer - Opinionated JSON to CSV/XLSX/SQLITE/PARQUET converter. Flattens JSON fast.
hjson - Hjson, a user interface for JSON
jsonmatic - ⚗️ Transform a CSV (spreadsheet) into a JSON.
tombl - Easily query TOML files from bash
ndjson - Streaming line delimited json parser + serializer
rq - Record Query - A tool for doing record analysis and transformation
miller - Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON
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.