diff --git a/header1.html b/header1.html index 39d73b5..ce9be36 100644 --- a/header1.html +++ b/header1.html @@ -2244,22 +2244,22 @@ ... -
8CWC
--- -key ends with two colons::: value + 8CWC- --- +key ends with two colons::: value --- -key ends with two colons::: value -... +- --- +key ends with two colons::: value +... --- -key ends with two colons::: value +- --- +key ends with two colons::: value --- -key ends with two colons::: value +- --- +key ends with two colons::: value --- -key ends with two colons::: value -... + --- +key ends with two colons::: value +...- 8G76 # Comment diff --git a/header2.html b/header2.html index 1969bb6..5915cba 100644 --- a/header2.html +++ b/header2.html @@ -2022,18 +2022,18 @@ ]@@ -2116,10 +2116,10 @@ 8CWC --- -key ends with two colons::: value + 8CWC- --- +key ends with two colons::: value --- -key ends with two colons::: value +- --- +key ends with two colons::: value key ends with two colons::: value -... +- key ends with two colons::: value +... key ends with two colons::: value +- key ends with two colons::: value key ends with two colons::: value + key ends with two colons::: value- 8G76 # Comment diff --git a/indent.html b/indent.html index cdede35..3768c57 100644 --- a/indent.html +++ b/indent.html @@ -1995,20 +1995,20 @@ ] 8CWC --- -key ends with two colons::: value + 8CWC- --- +key ends with two colons::: value --- -key ends with two colons::: value +- --- +key ends with two colons::: value --- -key ends with two colons::: value +- --- +key ends with two colons::: value --- -key ends with two colons::: value +- --- +key ends with two colons::: value --- -key ends with two colons::: value + --- +key ends with two colons::: value 8G76- # Comment @@ -4862,7 +4862,7 @@ { a: [ b, c, { - d: [e, f] + d: [e, f] } ] } @@ -4871,7 +4871,7 @@ { a: [ b, c, { - d: [e, f] + d: [e, f] } ] } diff --git a/quote.html b/quote.html index 56f35f1..6913aeb 100644 --- a/quote.html +++ b/quote.html @@ -135,12 +135,12 @@ - !!int 42 - d - !!str 'a' +- - !!str a - 'b' - !!int 42 - 'd' - !!str "a" + - !!str a - "b" - !!int 42 - "d" @@ -247,7 +247,7 @@ ? 'a' : 'b' --- !!seq -- !!str 'c' +- !!str c --- !!str d e @@ -256,7 +256,7 @@ ? "a" : "b" --- !!seq -- !!str "c" +- !!str c --- !!str d e @@ -485,19 +485,19 @@ ! a --- - ! 'a' + ! a --- - ! "a" + ! a 54T7 {foo: you, bar: far}- {foo: you, bar: far} {foo: you, bar: far} +- {'foo': 'you', 'bar': 'far'} {foo: you, bar: far} + {"foo": "you", "bar": "far"} 565N canonical: !!binary "\ @@ -617,11 +617,11 @@- - { one : two , three: four , } - {five: six,seven : eight} - { one : two , three: four , } -- {five: six,seven : eight} +- - { 'one' : 'two' , 'three': 'four' , } +- {'five': 'six','seven' : 'eight'} - { one : two , three: four , } -- {five: six,seven : eight} + - { "one" : "two" , "three": "four" , } +- {"five": "six","seven" : "eight"} 5GBF Folding: @@ -667,11 +667,11 @@- - [ one, two, ] - [three ,four] - [ one, two, ] -- [three ,four] +- - [ 'one', 'two', ] +- ['three' ,'four'] - [ one, two, ] -- [three ,four] + - [ "one", "two", ] +- ["three" ,"four"] 5NYZ key: # Comment @@ -705,19 +705,19 @@ %TAG !m! !my- --- # Bulb here - !m!light 'fluorescent' + !m!light fluorescent ... %TAG !m! !my- --- # Color here - !m!light 'green' + !m!light green %TAG !m! !my- --- # Bulb here - !m!light "fluorescent" + !m!light fluorescent ... %TAG !m! !my- --- # Color here - !m!light "green" + !m!light green 5WE3 ? explicit key # Empty value @@ -785,15 +785,15 @@ %TAG !e! tag:example.com,2000:app/ --- -- !local 'foo' -- !!str 'bar' -- !e!tag%21 'baz' +- !local foo +- !!str bar +- !e!tag%21 baz %TAG !e! tag:example.com,2000:app/ --- -- !local "foo" -- !!str "bar" -- !e!tag%21 "baz" +- !local foo +- !!str bar +- !e!tag%21 baz@@ -869,14 +869,14 @@ key: !!str value 6H3V 'foo: bar\': baz' @@ -839,9 +839,9 @@ By four spaces 'Flow style': [ # Leading spaces - By two, # in flow style - Also by two, # are neither - Still by two # content nor + 'By two', # in flow style + 'Also by two', # are neither + 'Still by two' # content nor ] # indentation. # Leading comment line spaces are @@ -852,9 +852,9 @@ By four spaces "Flow style": [ # Leading spaces - By two, # in flow style - Also by two, # are neither - Still by two # content nor + "By two", # in flow style + "Also by two", # are neither + "Still by two" # content nor ] # indentation. 'foo': !!seq -- !!str 'a' +- !!str a - !!map - 'key': !!str 'value' + 'key': !!str value "foo": !!seq -- !!str "a" +- !!str a - !!map - "key": !!str "value" + "key": !!str value 6KGN --- @@ -953,21 +953,21 @@ # Private --- - !foo bar + !foo "bar" ... # Global %TAG ! tag:example.com,2000:app/ --- - !foo bar + !foo "bar" # Private --- - !foo 'bar' + !foo "bar" ... # Global %TAG ! tag:example.com,2000:app/ --- - !foo 'bar' + !foo "bar"- # Private --- @@ -1103,15 +1103,15 @@ g: h !!str 23: !!bool false !!str 'a': 'b' +- !!str a: 'b' 'c': !!int 42 -'e': !!str 'f' +'e': !!str f 'g': 'h' !!str 23: !!bool false !!str "a": "b" +@@ -1245,11 +1245,11 @@ !!str a: "b" "c": !!int 42 -"e": !!str "f" +"e": !!str f "g": "h" !!str 23: !!bool false- !<tag:yaml.org,2002:str> foo : !<!bar> baz !<tag:yaml.org,2002:str> 'foo' : - !<!bar> 'baz' +- !<tag:yaml.org,2002:str> foo : + !<!bar> baz !<tag:yaml.org,2002:str> "foo" : - !<!bar> "baz" + !<tag:yaml.org,2002:str> foo : + !<!bar> baz 7TMG --- @@ -1263,14 +1263,14 @@ , word2] --- -[ word1 +[ 'word1' # comment -, word2] +, 'word2'] --- -[ word1 +[ "word1" # comment -, word2] +, "word2"]- 7W2P ? a @@ -1337,23 +1337,23 @@ ] implicit block key : [ - 'implicit flow key' : value, + implicit flow key : value, ] 'implicit block key' : [ - 'implicit flow key' : value, + 'implicit flow key' : 'value', ] "implicit block key" : [ - 'implicit flow key' : value, + "implicit flow key" : "value", ] 8CWC --- -key ends with two colons::: value + 8CWC- --- +key ends with two colons::: value --- -key ends with two colons::: value + --- +key ends with two colons::: value --- 'key ends with two colons::': 'value' @@ -1373,23 +1373,23 @@ line, a: b} --- -- { single line, a: b} +- { 'single line', 'a': 'b'} - { multi - line, a: b} + line, 'a': 'b'} --- -- { single line, a: b} +- { "single line", "a": "b"} - { multi - line, a: b} + line, "a": "b"} 8MK2 ! a- ! a ! 'a' +- ! a ! "a" + ! a@@ -1473,19 +1473,19 @@ line", a: b} 8QBE key: @@ -1432,8 +1432,8 @@ quoted", 'single quoted', plain - text, [ nested ], - single: pair, + text, [ 'nested' ], + 'single': 'pair', ] [ @@ -1441,8 +1441,8 @@ quoted", 'single quoted', plain - text, [ nested ], - single: pair, + text, [ "nested" ], + "single": "pair", ] --- -- { "single line", a: b} +- { single line, a: b} - { "multi line", a: b} --- -- { "single line", a: b} +- { 'single line', 'a': 'b'} - { "multi - line", a: b} + line", 'a': 'b'} --- -- { "single line", a: b} +- { "single line", "a": "b"} - { "multi - line", a: b} + line", "a": "b"} 9DXL Mapping: Document @@ -1630,16 +1630,16 @@ !!str scalar3 --- &a4 !!map -&a5 !!str 'key5': 'value4' +&a5 !!str key5: 'value4' --- 'a6': 1 &anchor6 'b6': 2 --- !!map -&a8 !!str 'key8': 'value7' +&a8 !!str key8: 'value7' --- !!map -!!str &a10 'key10': 'value9' +!!str &a10 key10: 'value9' --- !!str &a11 value11 @@ -1657,16 +1657,16 @@ !!str scalar3 --- &a4 !!map -&a5 !!str "key5": "value4" +&a5 !!str key5: "value4" --- "a6": 1 &anchor6 "b6": 2 --- !!map -&a8 !!str "key8": "value7" +&a8 !!str key8: "value7" --- !!map -!!str &a10 "key10": "value9" +!!str &a10 key10: "value9" --- !!str &a11 value11 @@ -1677,16 +1677,16 @@ - [ {JSON: like}:adjacent ]- - [ YAML : separate ] -- [ "JSON like":adjacent ] +- [ JSON like: adjacent ] - [ {JSON: like}:adjacent ] - [ YAML : separate ] -- [ "JSON like":adjacent ] -- [ {JSON: like}:adjacent ] +- - [ 'YAML' : 'separate' ] +- [ 'JSON like':'adjacent' ] +- [ {JSON: like}:'adjacent' ] - [ YAML : separate ] -- [ "JSON like":adjacent ] -- [ {JSON: like}:adjacent ] + - [ "YAML" : "separate" ] +- [ "JSON like":"adjacent" ] +- [ {JSON: like}:"adjacent" ]@@ -2101,12 +2101,12 @@ 9SHH single: 'text' @@ -1773,20 +1773,20 @@ !foo "bar" # Private - !foo bar + !foo "bar" ... # Global %TAG ! tag:example.com,2000:app/ --- - !foo bar + !foo "bar" # Private - !foo 'bar' + !foo "bar" ... # Global %TAG ! tag:example.com,2000:app/ --- - !foo 'bar' + !foo "bar" # Private !foo "bar" @@ -1951,20 +1951,20 @@ } { - "adjacent":value, - "readable": value, - "empty": + adjacent: value, + readable: value, + empty: } { - "adjacent":value, - "readable": value, - "empty": + 'adjacent':'value', + 'readable': 'value', + 'empty': }@@ -2004,11 +2004,11 @@ # Use the ! handle for presenting # tag:clarkevans.com,2002:circle - !circle - 'center': &ORIGIN {x: 73, y: 129} + 'center': &ORIGIN {'x': 73, 'y': 129} 'radius': 7 - !line 'start': *ORIGIN - 'finish': { x: 89, y: 102 } + 'finish': { 'x': 89, 'y': 102 } - !label 'start': *ORIGIN 'color': 0xFFEEBB @@ -2019,11 +2019,11 @@ # Use the ! handle for presenting # tag:clarkevans.com,2002:circle - !circle - "center": &ORIGIN {x: 73, y: 129} + "center": &ORIGIN {"x": 73, "y": 129} "radius": 7 - !line "start": *ORIGIN - "finish": { x: 89, y: 102 } + "finish": { "x": 89, "y": 102 } - !label "start": *ORIGIN "color": 0xFFEEBB @@ -2036,11 +2036,11 @@ { - "adjacent":value, - "readable": value, + "adjacent":"value", + "readable": "value", "empty": } %TAG !e! tag:example.com,2000:app/ --- - !e!foo bar + !e!foo "bar" %TAG !e! tag:example.com,2000:app/ --- - !e!foo 'bar' + !e!foo "bar" %TAG !e! tag:example.com,2000:app/ --- @@ -2062,17 +2062,17 @@ ] &flowseq [ - a: b, - &c c: d, - { &e e: f }, - &g { g: h } + 'a': 'b', + &c 'c': 'd', + { &e 'e': 'f' }, + &g { 'g': 'h' } ] &flowseq [ - a: b, - &c c: d, - { &e e: f }, - &g { g: h } + "a": "b", + &c "c": "d", + { &e "e": "f" }, + &g { "g": "h" } ] [ ? foo - bar : baz + bar : 'baz' ] [ ? foo - bar : baz + bar : "baz" ]- anchored: !local &anchor value alias: *anchor 'anchored': !local &anchor 'value' +- 'anchored': !local &anchor value 'alias': *anchor "anchored": !local &anchor "value" + "anchored": !local &anchor value "alias": *anchor
a: [b, c]
'a': [b, c] +- 'a': ['b', 'c']- "a": [b, c] + "a": ["b", "c"] D9TU foo: bar @@ -2175,14 +2175,14 @@ } { -? explicit: entry, - implicit: entry, +? 'explicit': 'entry', + 'implicit': 'entry', ? }@@ -2191,9 +2191,9 @@ { -? explicit: entry, - implicit: entry, +? "explicit": "entry", + "implicit": "entry", ? }- [foo, bar, 42] [foo, bar, 42] +- ['foo', 'bar', 42] [foo, bar, 42] + ["foo", "bar", 42]@@ -2290,12 +2290,12 @@ - !!int &c 4 - &d d E76Z &a a: &b b @@ -2220,13 +2220,13 @@ } !!map { - k: !!seq - [ a, !!str b] + 'k': !!seq + [ 'a', !!str b] } !!map { - k: !!seq - [ a, !!str b] + "k": !!seq + [ "a", !!str b] } - &a !!str 'a' +- - &a !!str a - !!int 2 - !!int &c 4 - &d 'd'- - &a !!str "a" + - &a !!str a - !!int 2 - !!int &c 4 - &d "d" @@ -2308,10 +2308,10 @@ { a: [b, c, { d: [e, f] } ] } --- -{ a: [b, c, { d: [e, f] } ] } +{ 'a': ['b', 'c', { 'd': ['e', 'f'] } ] } --- -{ a: [b, c, { d: [e, f] } ] } +{ "a": ["b", "c", { "d": ["e", "f"] } ] } F6MC --- @@ -2520,9 +2520,9 @@- [a, [b, c]] [a, [b, c]] +- ['a', ['b', 'c']] [a, [b, c]] + ["a", ["b", "c"]] G4RS- unicode: "Sosa did fine.\u263A" @@ -2533,7 +2533,7 @@ quoted: ' # Not a ''comment''.' tie-fighter: '|\-*-/|' unicode: "Sosa did fine.\u263A" +- unicode: Sosa did fine.☺ control: "\b1998\t1999\t2000\n" hex esc: "\x0d\x0a is \r\n" @@ -2541,7 +2541,7 @@ quoted: ' # Not a ''comment''.' tie-fighter: '|\-*-/|' 'unicode': "Sosa did fine.\u263A" + 'unicode': 'Sosa did fine.☺' 'control': "\b1998\t1999\t2000\n" 'hex esc': "\x0d\x0a is \r\n" @@ -2564,11 +2564,11 @@- --- - [-, -] --- -- [-, -] +- --- +- ['-', '-'] --- -- [-, -] + --- +- ["-", "-"] GH63 ? a @@ -2648,10 +2648,10 @@ wanted: love ♥ and peace ☮ --- -'wanted': love ♥ and peace ☮ +'wanted': 'love ♥ and peace ☮' --- -"wanted": "love \u2665 and peace \u262E" +"wanted": "love ♥ and peace ☮"@@ -2961,20 +2961,20 @@ HMK4- name: Mark McGwire @@ -2691,16 +2691,16 @@ !!str bar &a2 baz : *a1 !!str &a1 foo: +- !!str &a1 "foo": !!str bar &a2 baz : *a1 !!str &a1 'foo': - !!str 'bar' + !!str &a1 "foo": + !!str bar &a2 'baz' : *a1 !!str &a1 "foo": - !!str "bar" + !!str bar &a2 "baz" : *a1 - 'a?string' - 'another ? string' - 'key': 'value?' -- [a?string] -- [another ? string] -- {key: value? } -- {key: value?} -- {key?: value } +- ['a?string'] +- ['another ? string'] +- {'key': 'value?' } +- {'key': 'value?'} +- {'key?': 'value' } - "a?string" - "another ? string" - "key": "value?" -- [a?string] -- [another ? string] -- {key: value? } -- {key: value?} -- {key?: value } +- ["a?string"] +- ["another ? string"] +- {"key": "value?" } +- {"key": "value?"} +- {"key?": "value" } JS2J- First occurrence: &anchor Value @@ -3187,15 +3187,15 @@ ? c : !!str d ? !!str 'a' +- ? !!str a : !!int 47 ? 'c' -: !!str 'd' +: !!str d ? !!str "a" + ? !!str a : !!int 47 ? "c" -: !!str "d" +: !!str d@@ -3221,13 +3221,13 @@ - *anchor - !!str L9U5 implicit block key : [ @@ -3207,11 +3207,11 @@ ] 'implicit block key' : [ - implicit flow key : value, + 'implicit flow key' : 'value', ] "implicit block key" : [ - implicit flow key : value, + "implicit flow key" : "value", ] - !!str a +- - !!str "a" - b - &anchor c - *anchor - !!str - !!str 'a' + - !!str "a" - 'b' - &anchor 'c' - *anchor @@ -3248,23 +3248,23 @@ - [ ]- - [a, b , c ] -- { "a" : b - , c : 'd' , - e : "f" +- { a : b + , c : d , + e : f } - [ ] - [a, b , c ] -- { "a" : b - , c : 'd' , - e : "f" +- - ['a', 'b' , 'c' ] +- { 'a' : 'b' + , 'c' : 'd' , + 'e' : 'f' } - [ ] - [a, b , c ] -- { "a" : b - , c : 'd' , - e : "f" +@@ -3274,15 +3274,15 @@ ] - ["a", "b" , "c" ] +- { "a" : "b" + , "c" : "d" , + "e" : "f" } - [ ] implicit block key : [ - "implicit flow key" : value, + implicit flow key : value, ] 'implicit block key' : [ - "implicit flow key" : value, + 'implicit flow key' : 'value', ]@@ -3388,8 +3388,8 @@ ? [ New York Yankees, Atlanta Braves ] -: [ 2001-07-02, 2001-08-12, - 2001-08-14 ] +: [ '2001-07-02', '2001-08-12', + '2001-08-14' ] "implicit block key" : [ - "implicit flow key" : value, + "implicit flow key" : "value", ] ? - "Detroit Tigers" - "Chicago cubs" @@ -3398,8 +3398,8 @@ ? [ New York Yankees, Atlanta Braves ] -: [ 2001-07-02, 2001-08-12, - 2001-08-14 ] +: [ "2001-07-02", "2001-08-12", + "2001-08-14" ] M7NX --- @@ -3422,18 +3422,18 @@ --- { - a: [ - b, c, { - d: [e, f] + 'a': [ + 'b', 'c', { + 'd': ['e', 'f'] } ] } --- { - a: [ - b, c, { - d: [e, f] + "a": [ + "b", "c", { + "d": ["e", "f"] } ] } @@ -3443,9 +3443,9 @@- - {a: b} - {a: b} +- - {'a': 'b'} - {a: b} + - {"a": "b"} MZX3 - plain @@ -3634,11 +3634,11 @@ %TAG !! tag:example.com,2000:app/ --- - !!int '1 - 3' # Interval, not integer + !!int 1 - 3 # Interval, not integer %TAG !! tag:example.com,2000:app/ --- - !!int "1 - 3" # Interval, not integer + !!int 1 - 3 # Interval, not integer@@ -3901,10 +3901,10 @@ { top1: [item1, {key2: value2}, item3], top2: value2 } P94K- key: # Comment @@ -3806,14 +3806,14 @@ - b - c - [ a, b ] -- { a: b } +- - [ 'a', 'b' ] +- { 'a': 'b' } - 'a' - 'b' - 'c' - [ a, b ] -- { a: b } + - [ "a", "b" ] +- { "a": "b" } - "a" - "b" - "c" @@ -3886,11 +3886,11 @@ ] [ - foo: bar + 'foo': 'bar' ] [ - foo: bar + "foo": "bar" ] --- -{ top1: [item1, {key2: value2}, item3], top2: value2 } +{ 'top1': ['item1', {'key2': 'value2'}, 'item3'], 'top2': 'value2' } --- -{ top1: [item1, {key2: value2}, item3], top2: value2 } +{ "top1": ["item1", {"key2": "value2"}, "item3"], "top2": "value2" } RLU9 foo: @@ -4151,7 +4151,7 @@ - ! 12@@ -4224,9 +4224,9 @@ # Assuming conventional resolution: -- "12" +- '12' - 12 - ! 12- {a: [b, c], [d, e]: f} {a: [b, c], [d, e]: f} +- {'a': ['b', 'c'], [d, e]: 'f'} {a: [b, c], [d, e]: f} + {"a": ["b", "c"], [d, e]: "f"} SKE5 --- @@ -4361,11 +4361,11 @@ %TAG !yaml! tag:yaml.org,2002: --- - !yaml!str foo + !yaml!str "foo" %TAG !yaml! tag:yaml.org,2002: --- - !yaml!str 'foo' + !yaml!str "foo" %TAG !yaml! tag:yaml.org,2002: --- @@ -4494,9 +4494,9 @@- - { url: http://example.org } - { url: http://example.org } +- - { 'url': 'http://example.org' } - { url: http://example.org } + - { "url": "http://example.org" } UDR7 sequence: [ one, two, ] @@ -4505,11 +4505,11 @@- sequence: [ one, two, ] mapping: { sky: blue, sea: green } 'sequence': [ one, two, ] -'mapping': { sky: blue, sea: green } +- 'sequence': [ 'one', 'two', ] +'mapping': { 'sky': 'blue', 'sea': 'green' } "sequence": [ one, two, ] -"mapping": { sky: blue, sea: green } + "sequence": [ "one", "two", ] +"mapping": { "sky": "blue", "sea": "green" }@@ -4725,9 +4725,9 @@ UGM3 --- !<tag:clarkevans.com,2002:invoice> @@ -4711,13 +4711,13 @@ } { - foo : !!str, - !!str : bar, + 'foo' : !!str, + !!str : 'bar', } { - foo : !!str, - !!str : bar, + "foo" : !!str, + !!str : "bar", }- { &a [a, &b b]: *b, *a : [c, *b, d]} { &a [a, &b b]: *b, *a : [c, *b, d]} +- { &a [a, &b b]: *b, *a : ['c', *b, 'd']}- { &a [a, &b b]: *b, *a : [c, *b, d]} + { &a [a, &b b]: *b, *a : ["c", *b, "d"]} X8DW- --- @@ -4882,13 +4882,13 @@ - [Mark McGwire, 65, 0.278] - [Sammy Sosa , 63, 0.288] - [name , hr, avg ] -- [Mark McGwire, 65, 0.278] -- [Sammy Sosa , 63, 0.288] +- - ['name' , 'hr', 'avg' ] +- ['Mark McGwire', 65, 0.278] +- ['Sammy Sosa' , 63, 0.288] - [name , hr, avg ] -- [Mark McGwire, 65, 0.278] -- [Sammy Sosa , 63, 0.288] + - ["name" , "hr", "avg" ] +- ["Mark McGwire", 65, 0.278] +- ["Sammy Sosa" , 63, 0.288]@@ -4977,13 +4977,13 @@ ]]] } Z67P literal: |2 @@ -4918,11 +4918,11 @@ %TAG !e! tag:example.com,2000:app/ --- -- !e!foo bar +- !e!foo "bar" %TAG !e! tag:example.com,2000:app/ --- -- !e!foo 'bar' +- !e!foo "bar"- %TAG !e! tag:example.com,2000:app/ --- @@ -4941,16 +4941,16 @@ avg: 0.288 } 'Mark McGwire': {hr: 65, avg: 0.278} +- 'Mark McGwire': {'hr': 65, 'avg': 0.278} 'Sammy Sosa': { - hr: 63, - avg: 0.288 + 'hr': 63, + 'avg': 0.288 } "Mark McGwire": {hr: 65, avg: 0.278} + "Mark McGwire": {"hr": 65, "avg": 0.278} "Sammy Sosa": { - hr: 63, - avg: 0.288 + "hr": 63, + "avg": 0.288 } { key: [[[ - value +- { 'key': [[[ + 'value' ]]] } { key: [[[ - value + { "key": [[[ + "value" ]]] }