serde-rs.github.io icon indicating copy to clipboard operation
serde-rs.github.io copied to clipboard

(De)serializing any type from a (de)serializable type

Open kosta opened this issue 5 years ago • 1 comments

I found myself relying on this trick again today but couldn't find it documented anywhere.

It kind of follows from the design of serde, but I suspect there are a lot of users that are not aware of this and might do something more complicated, e.g. implement a Visitor like described in the docs.

kosta avatar Mar 09 '20 22:03 kosta

Travis panics, but I don't really understand where the panic comes from. Got a hint?

kosta avatar Mar 10 '20 08:03 kosta