roc-json
roc-json copied to clipboard
Json package for Roc
I'm trying to add the rest-api exercise to the roc track on exercism. It involves parsing a JSON object containing a Dict, but unfortunately this is blocked by #33 ....
I ran into some issues while decoding some JSON with German letters like `ö`. I want to understand how this package work and I found [this line](https://github.com/lukewilliamboswell/roc-json/blob/main/package/Json.roc#L1163). I think the...
Json does not currently implement `EncoderFormatting` or `DecoderFormatting` for the `Dict` type. EDIT: Upon further investigation, I see `Encode.EncoderFormatting` also does not have support for the dict type, so this...
The following tests have been disabled in `package/Option.roc` as a recent update in Roc has since broken these. ``` ++ roc test ./package/Option.roc thread 'main' panicked at /Users/luke/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bumpalo-3.14.0/src/lib.rs:1854:5: out of...
I am looking for a way to delay JSON decoding. Go for example provides a special type called `json.RawMessage` and you can define a field of a struct with this,...