Attribut
using System.Text.Json.Serialization;
public class Pokemon
{
public string Name {get; set;}
public bool IsDefault {get; set;}
[JsonIgnore]
public int CurrentHp {get; set;}
}Last updated
using System.Text.Json.Serialization;
public class Pokemon
{
public string Name {get; set;}
public bool IsDefault {get; set;}
[JsonIgnore]
public int CurrentHp {get; set;}
}Last updated