π
π
π
π
Dasel
Searchβ¦
π
π
π
π
Dasel
Introduction
Installation
Use as a go package
Github
Playground
Usage
Select
Put
Put object
Put document
Delete
Flags
Escape HTML
Format
Multiple
Null
Merge Input Documents
Supported file types
Selectors
Introduction
Property
Keys and indexes
Index
Next Available Index
All indexes
Dynamic
Search
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
Escape HTML
Description
Tells dasel whether or not to escape HTML tags when writing data.
Usage
Pass the
--escape-html=true
or
--escape-html=false
flag to any dasel command.
Defaults to
false
.
Supported in JSON write parser since v1.21.0.
Example
True
1
$
echo
'{"user": "tom <asd>"}'
|
dasel -r json --escape-html
=
true
.
2
{
3
"user"
:
"tom
\u003c
asd
\u003e
"
4
}
Copied!
False
1
$
echo
'{"user": "tom <asd>"}'
|
dasel -r json --escape-html
=
false
.
2
{
3
"user"
:
"tom <asd>"
4
}
Copied!
Usage - Previous
Flags
Next
Format
Last modified
7mo ago
Copy link
Contents
Description
Usage
Example
True
False