title: How can I get specific json data value via the key value
body: <p>let us say I have the following json in my local storage</p>
  
  <pre><code>top: [ {"id","one","name":"java"},
         {"id","two","name","javascript"},
         {"id","three","name","jquery"]
       ]
  </code></pre>
  
  <p>The problem here is how can i get the id just by using the name value?
  For instance, if I want get the id value <code>"two"</code>, I need to be able to make the query using <code>"javascript"</code> then reach the value <code>"two"</code>.
  Is there a way to achieve the above described problem?</p>