Closed ufobat closed 7 years ago
This code:
dd %.data; say to-json( %.data );
produces this output:
Hash %!data = {:host("xxxx.loc"), :password("xxxx"), :port(8443), :prefix(IntStr.new(0, "")), :protocol("http"), :user("xxx")} { "port": 8443, "prefix": , "protocol": "http", "host": "xxxx.loc", "password": "xxx", "user": "xxx" }
The problem is the "prefix": ,
"prefix": ,
fixed this; in the same commit i taught json::fast to output rats and nums with an .0 or e0 at the end to disambiguate from Int. cheers
.0
e0
This code:
produces this output:
The problem is the
"prefix": ,