title: Deserializing Multiple Values into a Single Property
body: <p>I have a JSON response that includes a few flags:</p>
  
  <pre><code>{"df":1,"dr":0,"pf":0,"pr":0,"ft":0,"rt":1}
  </code></pre>
  
  <p>I want to deserialize this into a flags enumeration:</p>
  
  <pre><code>public class Foo {
      public Doors Doors { get; set; }
      public Trunk Trunks { get; set; }
  }
  </code></pre>
  
  <p>df, dr, pf, pr should deserialize into Doors flags enum, while ft, rt should go into Trunks.  I'm expecting this to be custom code to make the decision.  What I'm looking for is something that will allow me to say:</p>
  
  <pre><code>[JsonProperty("df,dr,pf,pr"), JsonConverter(typeof(DoorsConverter))]
  public Doors Door { get; set; }
  </code></pre>
  
  <p>that would allow me to handle the construction of the property based on those values. Does this type of thing exist or am I stuck pushing the individual properties into non-public fields and constructing the property after the fact?</p>