title: JSON deserialization on client side unable to parse the json string
body: <p>On click of an anchor tag the action of my controller is hit. there is a parameter that is passed in query string . I am converting a List to serialized json sting using the below code.</p>
  
  <pre><code>public ActionResult EmployeeVote(string regionID)
   {
     var nomineeList = NomineeModel.GetNomineeByRegionID(Convert.ToInt16(regionID));
     ViewBag.NomineeList = JsonConvert.SerializeObject(nomineeList,Formatting.None);
     return View(ViewBag);
   }
  </code></pre>
  
  <p>Ths json string I think there is some issue with the way the string is made.</p>
  
  <pre><code>[{&amp;quot;Id&amp;quot;:0,&amp;quot;EmpId&amp;quot;:1,&amp;quot;FirstName&amp;quot;:&amp;quot;First Last&amp;quot;,&amp;quot;Email&amp;quot;:&amp;quot;mail@xyz.com&amp;quot;,&amp;quot;Description&amp;quot;:null,&amp;quot;RegionID&amp;quot;:0}]
  </code></pre>
  
  <p>On client side.
  But model list is giving error while deserializing it.</p>
  
  <pre><code>$(function () {
              var modelList = JSON.parse('@ViewBag.NomineeList');
             $(modelList).each((function () { //some logic});
   });
  </code></pre>
  
  <p>I want to perform an each loop to iterate over the model list to create some dynamic element. Any help ??</p>