The above is if you're using Newtonsoft.Json . If you want to continue using System.Text.Json , then just use [JsonPropertyName(“name”)].
確定! 回上一頁