Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 271
How does #[serde(tag = "type")] change enum serialization?
A
It serializes as a number
B
It removes the variant name
C
It serializes as an internally tagged object, e.g. {"type":"Click","x":1}
D
It wraps in an array