Skip to content

libxo JSON contains unescaped tab characters causing invalidity #10

@hayzamjs

Description

@hayzamjs

When running with --libxo json output, the JSON is invalid due to unescaped
tab characters in the threshold field:

"threshold":"50	100	100	0"

This causes jq to fail with:

loki :: ~ » smart ada0 -i -t -d --libxo json | jq
jq: parse error: Invalid string: control characters from U+0000 through U+001F must be escaped at line 1, column 206

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions