I have the JSON
["a", 1, 3, 4, 6]
I want to store it into
#[derive(Clone, Debug)]
pub struct Result {
values: Vec<String>,
}
Is there some simple attribute which I'm missing to achieve this?
This is similar to Convert two types into a single type with Serde, but I'm hoping I wont have to implement anything custom.