json.writer: don't escape spaces, thats weird.
parent
28ca2f5275
commit
167f4e789c
|
@ -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
|
||||
|
|
|
@ -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 ] }
|
||||
|
|
Loading…
Reference in New Issue