json: Show Fix
This commit is contained in:
parent
77dcc4d953
commit
a8c3901665
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ Show (JSONValue t) where
|
|||
in assert_total $ "{\{joinBy "," xs}}"
|
||||
show (VArray xs) =
|
||||
let xs = dMap (\_,e => show e) xs
|
||||
in assert_total $ "[\{joinBy "," . map show $ xs}]"
|
||||
in assert_total $ "[\{joinBy "," xs}]"
|
||||
show (VString s) = "\"\{s}\""
|
||||
show (VNumber d) = show d
|
||||
show (VBool False) = "false"
|
||||
|
|
Loading…
Add table
Reference in a new issue