title: Select only a specified set of properties from a list of objects
body: <p>Given a <code>List&lt;Product&gt;</code> of the following definition:</p>
  
  <pre><code>public class Product
  {
      public String Name;
      Public String Description;
      public Price price;
  }
  
  public class Price 
  {
      float Price;
      String PriceFormated;
  }
  </code></pre>
  
  <p>Now I need to be able to fulfill an Ajax request where I'm requested only the specified property names in a string array, such as <code>{ "Name", "Price.PriceFormated" }</code>. I think I need to use reflection for this.</p>
  
  <p>This would be the resulting response, only showing the requested properties:</p>
  
  <pre><code>[
      {
          "Name": "Something"
          "Price" : {
              "PriceFormated": "100 USD"
          }
      },{
          "Name": "Something1"
          "Price" : {
              "PriceFormated": "101 USD"
          }
      }
  ]
  </code></pre>
  
  <p>It need to work on any class, not just the ones shown.</p>