--- %YAML:1.0 test: Empty Sequence brief: > You can represent the empty sequence with an empty inline sequence. yaml: | empty: [] python: | [ { 'empty': [] } ] ruby: | { 'empty' => [] } --- test: Empty Mapping brief: > You can represent the empty mapping with an empty inline mapping. yaml: | empty: {} python: | [ { 'empty': {} } ] ruby: | { 'empty' => {} } --- test: Empty Sequence as Entire Document yaml: | --- [] python: | [ [] ] ruby: | [] --- test: Empty Mapping as Entire Document yaml: | --- {} python: | [ {} ] ruby: | {} --- test: Null as Document yaml: | --- ~ python: | [ None ] ruby: | nil --- test: Empty String brief: > You can represent an empty string with a pair of quotes. yaml: | --- '' python: | [ '' ] ruby: | ''