title: Retrieving References data from JSON
body: <p>I have json data in the following format</p>
  
  <pre><code>{"updates":
      {"message"   :"[[student:123]] is present."},
       "references":[{"type":"student","full_name":"XYZ","id":123}]
  }
  </code></pre>
  
  <p>How can I map the student name to the message using the id present over the message?
  I am relatively new to JSON parsing. I am currently using EJS template to manipulate the JSON into HTML.</p>
  
  <p>In that just using </p>
  
  <pre><code>&lt;%alert(updates.message.student)%&gt;
  </code></pre>
  
  <p>returns "undefined". Please help.</p>