Open
Description
This code:
use serde::Serialize;
#[derive(Default, Serialize)]
struct Foo {
#[serde(rename = "bar\"")]
bar: String,
}
fn main() {
println!("{}", serde_json::to_string_pretty(&Foo::default()).unwrap());
}
... returns:
{
"bar\"": ""
}
... but Doku will document it in a wrong way:
{
"bar"": "string"
}