You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I imagine the point would be for "--tojson" to strip document start when combining documents with 'eval-all'
PaulCharlton
changed the title
empty document --tojson creates literal 'null' which is not an empty json ...
yaml document separator --tojson creates literal '---' which is not json compatible ...
Feb 27, 2021
Describe the bug
A clear and concise description of what the bug is.
input file consisting of document separators and no tags
1.yaml
** command **
Actual behavior
produces:
Expected behavior
or, alternatively, 2 blank lines (like "// empty" in jq). The literal '---' is not parseable by
jq
The text was updated successfully, but these errors were encountered: