Is anyone interested in helping me port over https://github.com/lukewilliamboswell/roc-json?
It would be really useful for a number of different things that are in progress and enables a lot of workarounds as an interim until we really mature out various parts of the ecosystem (i.e. roc glue and platform docs).
I'm kind of maxxed out with all my concurrent things, and not sure when I'll get to it. But it would be really nice to have sooner than later. It would be one of the first package releases, so I expect we will probably have a number of bugs to find and report -- so this isn't a quick task I think. But we do have the encode and decode impl's on our Builtin types so we should in theory have everything we need to implement this.
Let me know if your interested in working on this. Feel free to open a draft PR anytime
I was having a little look at this last night and I don't think the compiler supports and code decode for records yet right? We don't have any kind of auto-generated record field walker like we did in the old compiler, yet.
I'm happy to implement that of course. Was there any discussion about doing and code decode differently at all or were we planning to just copy the design in the old compiler as far as field iteration and such?
yeah the API changed - https://github.com/roc-lang/roc/pull/8869 - so there's no longer a Decode module or Ability (or type alias or anything like that)
but in general, if you'd like to implement that inference, that would be great - although ideally hold off until https://github.com/roc-lang/roc/pull/9068 is merged, because otherwise there will be a ton of merge conflicts :sweat_smile:
it's close, but not quite there yet
250 commits, yolo
it's been through a _slight_ amount of revision :laughing:
Last updated: Feb 20 2026 at 12:27 UTC