use crate::prelude::*; #[derive(Document)] struct Ty { foos: Vec, } #[derive(Document)] struct Foo { bars: Vec, } #[derive(Document)] struct Bar { val: String, zars: Vec, } #[derive(Document)] struct Zar { value: String, } printer_test! { "output.json" => to_json(Ty), "output.toml" => to_toml(Ty), }