From 6c7326b290462372bb6c23462b2087149cf5fcc6 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 19 May 2022 20:28:13 -0400 Subject: JSON fix: correctly parse UTF-16 surrogate pairs --- libtests/qtest/json_parse/good-11-react.out | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 libtests/qtest/json_parse/good-11-react.out (limited to 'libtests/qtest/json_parse/good-11-react.out') diff --git a/libtests/qtest/json_parse/good-11-react.out b/libtests/qtest/json_parse/good-11-react.out new file mode 100644 index 00000000..6cf3345e --- /dev/null +++ b/libtests/qtest/json_parse/good-11-react.out @@ -0,0 +1,16 @@ +array start +array item: [4, 0): [] +array start +array item: [5, 11): "u:π" +array item: [13, 23): "u:π" +array item: [25, 39): "b:EFBBBFCF80" +array item: [41, 53): "b:feff03c0" +container end: [4, 54): [] +array item: [58, 0): [] +array start +array item: [59, 67): "u:🥔" +array item: [69, 85): "u:🥔" +array item: [87, 103): "b:feffd83eDD54" +container end: [58, 104): [] +container end: [0, 106): [] +[] -- cgit v1.2.3-54-g00ecf