Answers for "ignore field in json c#"

C#
2

json ignore property c#

public class Account
{
    public string FullName { get; set; }
    public string EmailAddress { get; set; }

    [JsonIgnore]
    public string PasswordHash { get; set; }
}
Posted by: Guest on March-30-2020

C# Answers by Framework

Browse Popular Code Answers by Language