title: Select two fields out of three fields from Json data using Linq.js
body: <p>I need to select two fields out of three fields from <strong>Json</strong> data using <strong>Linq.js</strong> </p>
  
  <p>Required output should be   </p>
  
  <pre><code>[{ "A": -27, C: "country 1" } , { "A": 28 , C: "country 2"} ] 
  </code></pre>
  
  <p>using "linq.js" from following path: [ <a href="https://raw.github.com/gist/1175460/fb7404d46cab20e31601740ab8b35d99a584f941/linq.js" rel="nofollow">https://raw.github.com/gist/1175460/fb7404d46cab20e31601740ab8b35d99a584f941/linq.js</a> ]</p>
  
  <p>Sample data</p>
  
  <pre><code>var Data = [{ "A": -27, "B": -39, C: "country 1" }, { "A": 28, "B": 0 , C: "country 2"}]
  
  var filter = "  x =&gt;    x['A'], x['C']  ";
  var findItem = Enumerable.From(Data)
  .Select(filter)
  .ToArray();
  
  console.log(findItem);
  </code></pre>
  
  <p>code at JsFiddle : <a href="http://jsfiddle.net/gLXNw/9/" rel="nofollow">http://jsfiddle.net/gLXNw/9/</a></p>