Converting between formats
See supported file types for a list of available formats.
Dasel allows you to specify different input/output formats using the -r,--read and -w,--write flags.
1
echo '{"name": "Tom"}{"name": "Jim"}' | dasel -r json -w yaml .
2
name: Tom
3
---
4
name: Jim
Copied!
This works well in general but you may run into issues when converting between data formats that don't typically play well together.
If you have any questions or concerns around this please raise a discussion.
Last modified 6mo ago
Copy link