3 ms·
I'm pretty sure this is the only way that Serde works? If you tell it do deserialize to a `Point { x: u32, y: u32 }`, it will ignore any additional fields.
by Gankro 11y ago
I'm pretty sure this is the only way that Serde works?
If you tell it do deserialize to a `Point { x: u32, y: u32 }`, it will ignore any additional fields.