Supported Schema Tags topic

The secondary tag handle !! is limited to tags below which all resolve to the YAML global tag prefix, tag:yaml.org,2002.

  • YAML schema tags

    • !!map - Map
    • !!seq - List
    • !!str - String
  • JSON schema tags

    • !!null - null
    • !!bool - Boolean.
    • !!int - Integer. hex, octal and base 10 should use this.
    • !!float - double.

Functions

isYamlMapTag(TagShorthand tag) bool Supported Schema Tags
Whether a tag is a valid Map or Mapping tag.
isYamlScalarTag(TagShorthand tag) bool Supported Schema Tags
Whether a tag is a valid Scalar tag.
isYamlSequenceTag(TagShorthand tag) bool Supported Schema Tags
Whether a tag is a valid List or Set or Sequence tag.
isYamlTag(TagShorthand tag) bool Supported Schema Tags
Whether a tag is valid tag in the yaml schema. A yaml tag uses the TagHandleVariant.secondary handle.