title: Should I set any attribute for the optional fields in case of JSON.NET
body: <p>Should I set any attribute for the optional fields in case of JSON.NET deserialization? I mean something like</p>
  
  <pre><code>public class Foo
  {
      [JsonProperty(Required = Required.Default)]
      public String foo { get; set; }
  }
  </code></pre>
  
  <p>Thanks in advance.</p>