What is a Yaml Tag ?

About

yaml adds tag 1) to identify the data type 2) of a text in a yaml output.

Example

Json style

{
  Time: !!timestamp '2001-11-23T20:01:42Z',
  User: ed,
  Warning: This is an error message for the log file
}

Type

Explicit tags can be:

  • local (begin with single exclamation mark '!car')
  • global (begin with 2 exclamation marks '!!com.Car').

List


Powered by ComboStrap