JsonPropertyName

This commit is contained in:
2024-09-16 13:37:34 -07:00
parent 65e31b09cc
commit 11293968b8
10 changed files with 63 additions and 115 deletions

View File

@ -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; }
}