miller
miller copied to clipboard
Feature request for the 6 version: add YAML format support
Hi @johnkerl , YAML is now a very popular file format. Miller already support JSON and I think that in GO there are a lot of YAML libraries.
It would be very convenient to be able to use a yaml file, as today it is already possible with a json file (I mean with the same limitations).
Thank you
@aborruso thanks!
Support for a subset of YAML, is doable. Full YAML I don't want to deal with -- including possible cyclic references.
I think a subset of YAML is really all that is needed, since complex/ridiculous self-referential YAMLs are likely not tabular in nature anyway, and I suspect almost all Miller users are using it to wrangle tabular-like data.
@aborruso @JensRoland thanks for the bar-lowering reassurances!! ;)
Does either of you have some examples of some YAML data you'd like to be able to process using Miller?
Does either of you have some examples of some YAML data you'd like to be able to process using Miller?
The first one is this https://github.com/johnkerl/miller/blob/main/docs/mkdocs.yml :)
Does either of you have some examples of some YAML data you'd like to be able to process using Miller?
This kind https://github.com/ministero-salute/it-dgc-opendata/blob/master/datapackage.yaml
Does either of you have some examples of some YAML data you'd like to be able to process using Miller?
To read OpenAPI schema https://app.data.opendatacovid.gssi.it/api/opendata/schema/