mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
Some struct fields are reserved names e.g. `type`. They are written in source as `r#type`. Trim off the `r#` prefix in `FieldDef::name` and add it back when generating output. Main motivation is to have the unescaped field names in JSON schema. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||