Json.Net 中的 [JsonRequired] 和 [JsonProperty(Required = required.Always)] 属性之间有什么区别(如果有)?

Tri*_*Jak 6 c# json.net asp.net-core

正如标题中提到的,尽管我查看了以下属性的文档,但我不明白不同的用例是什么。

[JsonRequired]
public string someProperty;

[JsonProperty(Required = Required.Always)]
public string someOtherProperty;
Run Code Online (Sandbox Code Playgroud)

是否存在某种情况下我们应该使用其中一种而不是另一种?

研究的链接:JsonRequiredAttributeJsonPropertyAttribute classJsonPropertyAttribute required