我想知道 System.Text.Json 中 Newtonsoft.Json's / Json.Net'sJsonProperty
字段的等价物是什么。
例子:
using Newtonsoft.Json;
public class Example
{
[JsonProperty("test2")]
public string Test { get; set; }
}
参考:
我想知道 System.Text.Json 中 Newtonsoft.Json's / Json.Net'sJsonProperty
字段的等价物是什么。
例子:
using Newtonsoft.Json;
public class Example
{
[JsonProperty("test2")]
public string Test { get; set; }
}
参考: