title: Access object var in object
body: <p>I have an object like this...</p>
  
  <pre><code>"data": {
  
     "1": {
        "id": 32,
        "name": "E",
        "link": "", 
      },
      "2": {
        "id": 33,
        "name": "EC",
        "link": "", 
      },
  </code></pre>
  
  <p>}</p>
  
  <p>how can I set each "link" value using the vars above ? for example I would like to do some thing like </p>
  
  <pre><code>"data": {
  
    "1": {
       "id": 32,
       "name": "E",
       "link": "id="+this.id+" and name="+this.name, 
    },
    "2": {
       "id": 33,
       "name": "EC",
       "link": "id="+this.id+" and name="+this.name, 
    },
  </code></pre>
  
  <p>To make the object like this...</p>
  
  <pre><code>"data": {
  
    "1": {
       "id": 32,
       "name": "E",
       "link": "id=32 and name=E", 
    },
    "2": {
       "id": 33,
       "name": "EC",
       "link": "id=33 and name=EC", 
    },
  </code></pre>