π
π
π
π
Dasel
Searchβ¦
π
π
π
π
Dasel
Introduction
Installation
Use as a go package
Github
Playground
Usage
Select
Put
Put object
Put document
Delete
Validate
Flags
Supported file types
Selectors
Introduction
Property
Keys and indexes
Index
Next Available Index
All indexes
Dynamic
Search
Search Optional
Length
Type
Notes
File formatting and ordering
Memory usage
Converting between formats
Examples
JQ to Dasel
YQ to Dasel
XML
Filter JSON API results
Powered By
GitBook
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
.
Notes - Previous
Memory usage
Next - Examples
JQ to Dasel
Last modified
1mo ago
Copy link
Edit on GitHub