use crate::prelude::*; #[derive(Document)] struct Ty { /// Comment for f1 /// Another comment for f1 /// Yet another comment for f1 f1: Option, } printer_test! { "output.json" => to_json(Ty), "output.without-key-quotes.json" => to_json_without_key_quotes(Ty), "output.toml" => to_toml(Ty), }