Utf8Json.UniversalCodeGenerator drops the @ character prefixies
shiena opened this issue · 0 comments
shiena commented
Step to reproduction
-
Create a class like the following
[System.Serializable] public class Model { public string @event; }
-
Generate the source with the following command
Utf8Json.UniversalCodeGenerator -i Model.cs -o Utf8JsonGenerated.cs
-
The @ is missing from the variable name in Utf8JsonGenerated.cs. This causes a compile error.