JSON Data with RxJS Observables: Filter not working
<p>First of all: <a href="http://plnkr.co/edit/5CD7s245AbVZxfnm4qzT?p=preview" rel="nofollow">Plunkr Example is here</a>  <code>&lt;-- NOW: WORKING EXAMPLE (edited)</code></p>

<p>This is the data:</p>

<pre><code>[
  {
    "label": "One",
    "value": 1
  }, 
  {
    "label": "Two",
    "value": 2
  }, 
  {
    "label": "Three",
    "value": 3
  }
]
</code></pre>

<p>This is the filter:</p>

<pre><code>  http.get('./data.json')
  .map(data =&gt; data.json())
  .filter ( 
    (x,index) =&gt; return x[index].value === 2
  )
  .subscribe(data =&gt; this.d = data);
</code></pre>

<p>I would like to get as result:</p>

<pre><code>{
  "label": "Two",
  "value": 2
}
</code></pre>

<p>Maybe I've a blackout, where is the mistake?</p>