Closed ioggstream closed 2 years ago
AFAICT, the datapackage specification says
A Data Package descriptor MUST be a valid JSON object
Now, I'm aware of the discussion about allowing yaml as alternative descriptor format, but the support for datapackages in this package is more a proof-of-concept feature and will likely never be complete (e.g. support anything beyond tabular data resources). So rather than expecting yaml support from csvw
, I'd hope for a yaml-to-json converter in datapackages tooling once yaml is officially recognized as descriptor format.
Hi @xrotwang ! I found on this FAQ that frictionless works both on JSON and YAML. If you want, I can provide a PR but if you confirm this is wontfix, that's fine too :) Have a nice day, R.
If you create the datapackage descriptor via frictionless describe
, then passing the --json
option would be all that's needed to get JSON metadata. And I think I'd rather de-emphasize the datapackage support here, than having to deal with two specs in this one package :)
I expect
Instead