#[derive(Serialize, Deserialize)]
pub struct Address {
pub city: String,
pub zip: String,
}
#[derive(Serialize, Deserialize)]
pub struct Root {
pub name: String,
pub age: i64,
pub address: Address,
}
To narzędzie jest narzędziem internetowym służącym do konwersji ciągów JSON na definicje struktur Rust z obsługą serde.