title: how to change json key:value
body: <pre><code>//my json data    
  var jsndata = "{ "id": "5001", "type": "None" },
              { "id": "5002", "type": "Glazed" },
              { "id": "5005", "type": "Sugar" },
              { "id": "5003", "type": "Chocolate" },
              { "id": "5004", "type": "Maple" },
              { "id": "5009", "type": "Juice" }"
  </code></pre>
  
  <p>How would i change <code>"type": "Chocolate"</code> => <code>"type": "only water"</code><br>
  or.. <code>"id": "5005"</code> => <code>"id": "1234"</code></p>
  
  <p>My list is very long.. I need get or set any value ?</p>
  
  <p>Note: My list is dynamic and always sorting order by id or type..</p>
  
  <p>Will <code>jsndata.id['5003']='1234'</code> change it?</p>
  
  <p><code>var getval = jsndata.id['5005'].type</code> get val..(value Sugar) ?</p>