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.
-
YAMLschema tags!!map-Map!!seq-List!!str-String
-
JSONschema tags!!null-null!!bool- Boolean.!!int- Integer.hex,octalandbase 10should use this.!!float- double.
Properties
- booleanTag → TagShorthand
-
JSONboolfinal - floatTag → TagShorthand
-
JSONdoublefinal - integerTag → TagShorthand
-
JSONintfinal - mappingTag → TagShorthand
-
Generic Map
final
- nullTag → TagShorthand
-
JSONnullfinal - orderedMappingTag → TagShorthand
-
Generic ordered Map
final
- sequenceTag → TagShorthand
-
Generic List
final
- setTag → TagShorthand
-
Generic Set
final
- stringTag → TagShorthand
-
Generic String
final
- yamlGlobalTag → GlobalTag
-
YAMLglobal tagfinal
Functions
-
isYamlMapTag(
TagShorthand tag) → bool -
Whether a
tagis a valid Map or Mapping tag. -
isYamlScalarTag(
TagShorthand tag) → bool -
Whether a
tagis a valid Scalar tag. -
isYamlSequenceTag(
TagShorthand tag) → bool -
Whether a
tagis a valid List or Set or Sequence tag. -
isYamlTag(
TagShorthand tag) → bool -
Whether a
tagis valid tag in the yaml schema. A yaml tag uses the TagHandleVariant.secondary handle.