title: How to get JSON property based on another property
body: <p>Suppose I have a following JSON file: </p>
  
  <pre><code>[
    {
      "id" : "1",
      "name" : "Super shirt",
      "snippet": "Item description here",
      "price" : "some price here",
      "category" : "shirt",
      "pic" : "picture1"
  
    },
    {
      "id" : "2",
      "name" : "Super duper",
      "snippet": "Item description here",
      "price" : "some price here",
      "category" : "shirt",
      "pic" : "picture2"
    }
  ]
  </code></pre>
  
  <p>and so on. How to get a value of "pic" property based on "id" property of each object?. So how to get a picture of each object if I have an id of that object.</p>