@@ -49,28 +49,28 @@ result: '{"Z":null,"a":{"b":["9",8,{}],"c":45},"q":1,"r":true}'
4949---
5050title : $json sorting unicode strings
5151context : {}
52- template : {$json: {' \u3347\u0050' : 1, ' \uE1FF\u0010' : 2, ' \u0055\u0045' : 3}}
53- result : ' {"\\ u0055\\ u0045": 3, "\\ u3347\\ u0050": 1 , "\\ uE1FF\ \u0010": 2}'
52+ template : {$json: {" \u3347\u0050" : 1, " \uE1FF\u0010" : 2, " \u0055\u0045" : 3}}
53+ result : ' {"\u0055\u0045": 3, "\u3347\u0050": 1 , "\uE1FF\u0010": 2}'
5454---
5555title : $json sorting unicode strings2
5656context : {}
57- template : {$json: {' u005A\u10000 \u0050' : 1, '\u{E1FFF} \u0010' : 2, ' \u0055a\u0045' : 3}}
58- result : ' {"\\ u0055a\\ u0045": 3, "\\ u005A\\ u10000\\ u0050": 1, "\\u{E1FFF}\ \u0010": 2}'
57+ template : {$json: {" u005A\U00010000 \u0050" : 1, "\U000E1FFF \u0010" : 2, " \u0055a\u0045" : 3}}
58+ result : ' {"\u0055a\u0045": 3, "\u005A\u10000\u0050": 1, "\U000E1FFF \u0010": 2}'
5959---
6060title : $json sorting unicode strings3
6161context : {}
62- template : {$json: {'e\u{E3FFE} \u732b' :'hey', ' \u0041\u0012\u107000' :'hi', 'A\u{24000}' :'hello'}}
63- result : ' {"\\ u0041\\ u0012\\ u107000":"hi", "A\\u{24000} ":"hello", "e\\u{E3FFE}\ \u732b":"hey"}'
62+ template : {$json: {"e\U000E3FFE \u732b" :'hey', " \u0041\u0012\u107000" :'hi', "A\U00024000" :'hello'}}
63+ result : ' {"\u0041\u0012\u107000":"hi", "A\U00024000 ":"hello", "e\U000E3FFE \u732b":"hey"}'
6464---
6565title : $json sorting unicode strings4
6666context : {}
67- template : {$json: {'e\u{E3FFE} \u732b' :'hey', ' \u0041\u{24000} \u107000' :'hi', ' A\u4FFF' :'hello'}}
68- result : ' {"A\\ u4FFF": "hello", "\\ u0041\\u{24000}\\ u107000": "hi", "e\\u{E3FFE} \\u732b": "hey" }'
67+ template : {$json: {"e\U000E3FFE \u732b" :'hey', " \u0041\U00024000 \u107000" :'hi', " A\u4FFF" :'hello'}}
68+ result : ' {"A\u4FFF": "hello", "\u0041\U00024000\ u107000": "hi", "e\U000E3FFE \\u732b": "hey" }'
6969---
7070title : $json sorting unicode string5
7171context : {}
72- template : {$json: {'\u{24000} \u732b' :'hey', ' \u007C\u{24000} \u107000' :'hi', ' \u0012\u{FFFF4}' :'hello'}}
73- result : ' {"A\\ u4FFF": "hello", "\\ u0041\\u{24000}\\ u107000": "hi", "e\\u{E3FFE}\ \u732b": "hey" }'
72+ template : {$json: {"\U00024000 \u732b" :'hey', " \u007C\U00024000 \u107000" :'hi', " \u0012\U000FFFF4" :'hello'}}
73+ result : ' {"A\u4FFF": "hello", "\u0041\U00024000\ u107000": "hi", "e\U000E3FFE \u732b": "hey" }'
7474---
7575title : string interpolation
7676context : {key: 'world', num: 1}
0 commit comments