glideapps/quicktype
Auf GitHub ansehenTranslate invalid name characters into equivalent names
Open
#631 geöffnet am 6. März 2018
good first issuenaming
Repository-Metriken
- Stars
- (10.867 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
Demonstrated by NotExecutable on Reddit:
{"#": "foo", "##": "bar" }
produces this type with strange propery names in C#:
public partial class Root
{
public string Empty { get; set; }
public string Purple { get; set; }
}
This would be nicer:
public partial class Root
{
public string Hash { get; set; }
public string HashHash { get; set; }
}