Explain about the Flow scalar styles in YAML?

Category: YAMLExplain about the Flow scalar styles in YAML?
Editor">Editor Staff asked 2 years ago

Explain about the Flow scalar styles in YAML?

1 Answers
Editor">Editor Staff answered 2 years ago

There are three different types of Flow scalar types

  • Double-quoted – It is surrounded by Double quotes(“) and uses \as escape sequence.
  • Single-quoted – It is surrounded by Single quotes(‘). Escape sequences are not present in single-quoted style.
  • Unquoted – It is not surrounded by any indicators or escape sequences.