Anonymous
11/10/2025, 8:50:19 PM
No.107165641
In Rust this is just
#[derive(Serialize, Deserialize)]
struct MyStruct {
// ...
}
serde_json::to_string(&my_struct);
#[derive(Serialize, Deserialize)]
struct MyStruct {
// ...
}
serde_json::to_string(&my_struct);