JsonPropertyName
This commit is contained in:
@ -15,7 +15,7 @@ public class Attribute
|
||||
Name = name;
|
||||
}
|
||||
|
||||
public bool IsLocked { get; set; } // { init; get; }
|
||||
public string Name { get; set; } // { init; get; }
|
||||
[JsonPropertyName("isLocked")] public bool IsLocked { get; set; }
|
||||
[JsonPropertyName("name")] public string Name { get; set; }
|
||||
|
||||
}
|
Reference in New Issue
Block a user