title: Find an Object in Array of JSONs and add a value to it
body: <p>I have an array of JSONs like this:</p>
  <pre><code>[
    {
      id: 1,
      name: 'John'
    },
    {
      id: 2,
      name: 'Jack'
    },
    {
      id: 3,
      name: 'Peter'
    }
  ]
  </code></pre>
  <p>I want to find an object via it's <code>id</code> and add a <code>deleted: true</code> to it.</p>
  <p>I'm wondering whats the easiest way to do this.</p>