mono and update Json.fromUtf8 and Json.toUtf8 to Json.json

This commit is contained in:
Luke Boswell 2023-04-21 10:57:48 +10:00
parent 95f3d84684
commit 4f22b0747f
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
21 changed files with 1606 additions and 1606 deletions

View file

@ -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>"
"#