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

@ -7,6 +7,6 @@ platform "python-interop"
mainForHost : List U8 -> List U8
mainForHost = \json ->
when Decode.fromBytes json Json.fromUtf8 is
Ok arg -> Encode.toBytes (main arg) Json.toUtf8
when Decode.fromBytes json Json.json is
Ok arg -> Encode.toBytes (main arg) Json.json
Err _ -> []