using System.Text.Json.Serialization; namespace Adaptation.FileHandlers.json.WorkItems; public class Attribute { #nullable enable [JsonConstructor] public Attribute(bool isLocked, string name) { IsLocked = isLocked; Name = name; } [JsonPropertyName("isLocked")] public bool IsLocked { get; set; } [JsonPropertyName("name")] public string Name { get; set; } }