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.

$ echo '{"name": "Tom"}{"name": "Jim"}' | dasel -r json -w yaml .
name: Tom
---
name: Jim

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 updated