@ -59,3 +59,43 @@ fn main() {
let obj: Cl2 = serde_json::from_str(&json).unwrap();
dbg!(obj);
}
/// Output:
///
/// [src/main.rs:58] &json = "{\"cache\":[[[4,5,6],{\"path\":[4,5,6],\"count\":87}],[[1,2,3],{\"path\":[1,2,3],\"count\":37}]]}"
/// [src/main.rs:60] obj = Cl2 {
/// cache: {
/// Path(
/// [
/// 1,
/// 2,
/// 3,
/// ],
/// ): Rel {
/// path: Path(
/// ),
/// count: 37,
/// },
/// 4,
/// 5,
/// 6,
/// count: 87,
/// }