Skip to content
YAML

Scalars

Strings, numbers, booleans, null, and dates.

#scalar#string#number

Code

yaml
string: hello
quoted: "hello world"
single: 'it''s ok'
literal: |
  line one
  line two
folded: >
  this folds
  into one line
integer: 42
float: 3.14
boolean: true
null_value: null
date: 2024-01-15