Whether explicit tag names are matched by prefix instead of exact equality.
Default: false.
Create the carrier used while constructing a mapping.
Writes a pair. Returns '' on success, a non-empty error message otherwise (key does not fit the representation, value rejected, ...). Always a string so the hot path never allocates an exception wrapper.
Return whether the carrier contains a key, for duplicate and merge checks.
Return the keys of a completed result for YAML merge processing.
Return a value from a completed result for YAML merge processing.
Convert the completed carrier to the result. Defaults to the identity function.
Selects this tag for a JavaScript value when dumping. Use () => false
for load-only tags.
Return the mapping entries to dump. Defaults to the identity function.
Return the tag name to emit for a prefix-matching tag. Defaults to tagName.
Tag name used for schema lookup.
YAML node kind handled by this tag.
Mapping tags do not participate in implicit scalar resolution.
Whether the carrier is also the final result (finalize was omitted).
Normalized mapping tag returned by defineMappingTag.