title: JSON PATCH / Remove: how to remove specific value from an object?
body: <p>How do you <code>remove</code> a value from an object in an http patch request?</p>
  
  <p>For example:</p>
  
  <pre><code>{
    "types": [
      {
        "id": 12,
        "name": "xyz",
      },
      {
        "id": 13,
        "name": "ABC",
      }
    ]
  }
  </code></pre>
  
  <p>How do you remove where type/id=13? </p>
  
  <p>Is it like this?</p>
  
  <pre><code>[{
      "op":"remove",
      "path":"types/13"
  }]
  </code></pre>
  
  <p>Or like this?</p>
  
  <pre><code>[{
      "op":"remove",
      "path":"types",
      "value":[{"id":13}]
  }]
  </code></pre>
  
  <p>Also, Im not looking the delete the position no2 solution!</p>
  
  <p>Thanks :)</p>