glideapps/quicktype
Translate invalid name characters into equivalent names
Fermée
#631 ouverte le 6 mars 2018
good first issuenaming
Métriques du dépôt
- Stars
- (10 867 étoiles)
- Métriques de merge PR
- (Métriques PR en attente)
Description
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; }
}