Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Doesn't the serde crate's json support do precisely this? It generates structs that have optional in all the right places and with all the right types anyway. Seems like the llvm optimiser can probably do something useful with that even if the serde feature isn't using apriori knowledge out of the schema.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: