uneval icon indicating copy to clipboard operation
uneval copied to clipboard

Box<T> unsupported

Open io12 opened this issue 5 years ago • 1 comments

If the type being serialized has fields containing Box<T>, the field's expression is assigned to the inner value, not wrapped in Box::new(), which causes a compiler error.

io12 avatar Aug 25 '20 05:08 io12

As in #2 serde causes this by applying Deref fully. It's doable with post-processing, but really one wants some new formatter traits, similar to Debug and Display, and just avoid serde entirely.

burdges avatar Feb 11 '21 12:02 burdges