You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class Root {
public int 1_star { get; set; }
public int 2_star { get; set; }
public int 3_star { get; set; }
public int 4_star { get; set; }
public int 5_star { get; set; }
}
C# does not allow name of anything have digit at start.
Expected results:
public class Root {
//varinat 1
[JsonProperty("1_star ")]
public int One_star { get; set; }
//varinat 2
[JsonProperty("2_star ")]
public int d2_star { get; set; }
}
The text was updated successfully, but these errors were encountered:
Sample json:
C# Converted:
C# does not allow name of anything have digit at start.
Expected results:
The text was updated successfully, but these errors were encountered: