generated/1191/substitute an indicator/8

sha256 7c4b71c36d39d446d49bc18cdcb62a6b4fed5375839251abfe5ff8c63bfe649f

Document

%TAG !n-1! ,ag:yaml.org,2002:
---
# c1
!n-1!str 'n': !n-1!null NULL
# c2
't': !n-1!timestamp '2077-06-28T03:57:01.03Z'
# c3
'b': !n-1!binary 'cgHw'

Corpus

grammarinvalid
tagsnone
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml perlref yamlstar

refuse by the parser

libfyaml yaml.v3

accept

value

libfyaml yaml.v3

{"b":"cgHw","n":"NULL","t":"2077-06-28T03:57:01.03Z"}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, invalid refuse by the parser n/i n/i
libfyaml accepted, explained accept not scored n/i tag-shorthand-unchecked: fy-tool reads a tag shorthand up to the next space, and takes characters ns-tag-char excludes: "!!n-1!int -2" is accepted
yamlstar rejected, invalid refuse by the parser not scored n/i Error: parse: No %TAG entry for '!n-1!'
yaml.v3 accepted, explained accept not scored different
document 0

written

b: cgHw
"n": "NULL"
t: "2077-06-28T03:57:01.03Z"

read back

{"b":"cgHw","n":"NULL","t":"2077-06-28T03:57:01.03Z"}
tag-shorthand-unchecked: yaml.v3 reads a tag shorthand up to the next space, and takes characters ns-tag-char excludes: "!!!int" and "!!bina[ry" are accepted
go-yaml rejected, invalid refuse by the parser not scored refused [1:12] a tag cannot hold ","

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.