mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
mono and update Json.fromUtf8 and Json.toUtf8 to Json.json
This commit is contained in:
parent
95f3d84684
commit
4f22b0747f
21 changed files with 1606 additions and 1606 deletions
|
@ -6101,7 +6101,7 @@ mod solve_expr {
|
|||
|> Encode.appendWith (Encode.string "Hello, World!\n") fmt
|
||||
|
||||
main =
|
||||
when Str.fromUtf8 (Encode.toBytes (@HelloWorld {}) Json.toUtf8) is
|
||||
when Str.fromUtf8 (Encode.toBytes (@HelloWorld {}) Json.json) is
|
||||
Ok s -> s
|
||||
_ -> "<bad>"
|
||||
"#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue