json.writer: don't escape spaces, thats weird.

db4
John Benediktsson 2014-12-25 08:39:53 -08:00
parent 28ca2f5275
commit 167f4e789c
2 changed files with 1 additions and 1 deletions

View File

@ -10,6 +10,7 @@ IN: json.writer.tests
{ "102.0" } [ 102.0 >json ] unit-test
{ "102.5" } [ 102.5 >json ] unit-test
{ "0.5" } [ 1/2 >json ] unit-test
{ """\"hello world\"""" } [ "hello world" >json ] unit-test
{ "[1,\"two\",3.0]" } [ { 1 "two" 3.0 } >json ] unit-test
{ """{"US$":1.0,"EU€":1.5}""" } [ H{ { "US$" 1.0 } { "EU€" 1.5 } } >json ] unit-test

View File

@ -53,7 +53,6 @@ M: string stream-json-print
{ CHAR: \f [ "\\f" over stream-write ] }
{ CHAR: \n [ "\\n" over stream-write ] }
{ CHAR: \r [ "\\r" over stream-write ] }
{ CHAR: \s [ "\\s" over stream-write ] }
{ CHAR: \t [ "\\t" over stream-write ] }
{ 0x2028 [ "\\u2028" over stream-write ] }
{ 0x2029 [ "\\u2029" over stream-write ] }