79162097

Date: 2024-11-06 10:04:34
Score: 0.5
Natty:
Report link

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;
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: VladislavKondratenko