Check out example codes for "json ignore property c#". It will help you in understanding the concepts better.

Code Example 1

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

    [JsonIgnore]
    public string PasswordHash { get; set; }
}

Learn ReactJs, React Native from akashmittal.com