Hacker News new | ask | show | jobs
by saintfire 384 days ago
I think you're going to want to reach for serde. Its a bit of annotating but you can then de/serialize structs to arbitrary formats with one call.
1 comments

Thanks for the suggestion! I'll have a look.