title: match json data to class properties
body: <p>I have used one webapi method where [FromBody] i used my class object.
  like below: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code> public HttpResponseMessage ProcessResource([FromBody]FileContent contentvalue)
      {//some business logic
      }</code></pre>
  </div>
  </div>
  </p>
  
  <p>and below is my json format which i am sending from client machine:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code> {"FileContent":{"ResourceStrings":[{"StringKey":"TestKey","StringID":1,"Value":"TestKey"},{"StringKey":"SampleKey","StringID":2,"Value":"Test key 1"},{"StringKey":"HomeKey","StringID":3,"Value":"Home DEV"},{"StringKey":"custom.WVF.ContactForm.Name","StringID":4,"Value":"NAME"},{"StringKey":"custom.CMS.MenuItem","StringID":5,"Value":"CMS.MenuItem"}]},}</code></pre>
  </div>
  </div>
  </p>
  
  <p>below is FileContent class used:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>public class ResourceString
  {
      public string StringKey { get; set; }
      /// &lt;summary&gt;
      /// Gets or sets the StringKey
      /// &lt;/summary&gt;
      /// &lt;value&gt;
      /// StringKey
      /// &lt;/value&gt;
      public int StringID { get; set; }
      /// &lt;summary&gt;
      /// Gets or sets the StringID
      /// &lt;/summary&gt;
      /// &lt;value&gt;
      /// StringID
      /// &lt;/value&gt;
      public string Value { get; set; }
      /// &lt;summary&gt;
      /// Gets or sets the Value
      /// &lt;/summary&gt;
      /// &lt;value&gt;
      /// Value
      /// &lt;/value&gt;
  }
  /// &lt;summary&gt;
  /// Added RootObject new class to serialize and deserialize for resource string
  /// &lt;/summary&gt;
  public class RootObject
  {
      /// &lt;summary&gt;
      /// Gets or sets the list of ResourceString
      /// &lt;/summary&gt;
      public List&lt;ResourceString&gt; ResourceStrings { get; set; }
  }
  public class FileContent
  {
      public List&lt;ResourceString&gt; ResourceStrings { get; set; }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>Now when i am sending json data from client machine and debugging my web api method then FileContent object value is null.</p>
  
  <p>How do i get json data in this method parameter?</p>
  
  <p>Now i am able to get json data in that method using Roma's solution.
  After getting data i need again i need to deserialize it to ResourceString then again i should get my json format like below:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code> {"ResourceStrings":[{"StringKey":"TestKey","StringID":1,"Value":"TestKey"},{"StringKey":"SampleKey","StringID":2,"Value":"Test key 1"},{"StringKey":"HomeKey","StringID":3,"Value":"Home DEV"},{"StringKey":"custom.WVF.ContactForm.Name","StringID":4,"Value":"NAME"},{"StringKey":"custom.CMS.MenuItem","StringID":5,"Value":"CMS.MenuItem"}]}</code></pre>
  </div>
  </div>
  </p>
  
  <p>How do i make it deserialize to get the same?</p>