Anyone know the state of the art for JSON API in #rustlang ? I've found https://github.com/michiel/jsonapi-rust and it is perfectly serviceable, but I'm conscious that it's been stale for a while. That could just be due to the fact that it's stable and does what it needs to, which is fine if so. Just curious!
@yosh Oh nice! Yep I was definitely planning to check if this was something I could try to leverage in a WASI context (hoping to ship a client component to a front-end consumer). I'll let you know!
@bobulous Definitely! I've got some serde going on now, but some emergent complexity is that jsonapi cleaves the shape up in ways that don't have obvious answers (to me) w/ serde macro attributes.
As an example, I'd want to turn `Account { id: 1, username: "person" }` into `{ "type": "accounts", "id": 1, "attributes": { "username": "person" } }` - there's more, like relationships and links and stuff, but that example might illustrate why I'm hunting for something to handle the extra plumbing?