You could do it in this way:
public record Model { [JsonPropertyName("name")] public string Name { get; set; } [JsonPropertyName("text")] public string Text { set => Name = value; } }