locked
ASP.NET Core 3.1 :JsonPropertyName Error RRS feed

  • Question

  • User-1602535186 posted

    I am having Asp.Net Core 3.1 Application, And After changing DataMember to JsonPropertyName Getting error as below

    Error CA2227 Change 'FilterStatus' to be read-only by removing the property setter.
    [JsonPropertyName("filterFlags")]
    public List<FilterType> FilterStatus { get; set; }

    Saturday, April 11, 2020 2:27 PM

All replies