the.bay.news

Serialization/serde library in rust which tags structs with ids?

The Rust Programming Language Forum
Serialization/serde library in rust which tags structs with ids?
I am playing around with sending structs (serialized over to json), over a tcp connection, unfortunately the struct type is lost, and chaining a bunch of from_slice for various different structs wont work if the fields of two structs are the same, which leads to me naming the fields weirdly and etc, is there any library which just tags it for me?

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.