Hacker News new | past | comments | ask | show | jobs | submit login

As a note, while cbor is schemaless, there do exist tools to make it work with schemas. In rust cborium will generate rust types from a json schema that serde can use.



I never used cborium, but if I'm understanding it correctly, I think it adds types at the language deserialisation stage and not over the wire. Which means that it makes it a lot more ergonomic to use within Rust, but doesn't use typings for space-efficiency over the wire.




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

Search: