title: How to Access each elements in the following json output
body: <p>Here is my j-son output and i want to access inner elements element.
  how should i do that?
  i have tried to access them in the following way 
  data[10];
  but it didn't worked</p>
  
  <pre><code>public JsonResult ShowEventsList()
          {
              using (EventSchedularEntities db = new EventSchedularEntities())
              {
                  var EventsList = from evnt in db.Events
                                   select new
                                   {
                                       id = evnt.EventID,
                                       Subject = evnt.EventName,
  
                                       Description = evnt.EventDesc,
                                       StartTime = evnt.EventDateBegin,
                                       EndTime = evnt.EventDateEnd,
                                       Color = evnt.Importance,
  
                                   };
                  List&lt;object[]&gt; LstEvents = new List&lt;object[]&gt;();
                  foreach (var ev in EventsList)
                  {
                      LstEvents.Add(new object[] { ev.id, ev.Subject, ev.Description,DateTime.Parse(ev.StartTime.ToString()).ToString("M/dd/yyyy hh:mm").Replace("-", "/"), DateTime.Parse(ev.EndTime.ToString()).ToString("M/dd/yyyy hh:mm").Replace("-", "/"), ev.Color });
                  }
  
                  return Json( LstEvents, JsonRequestBehavior.AllowGet);
  
              }
  
          }
  
  
  
      $.ajax({
          type: "POST",
          url: "../EventScheduler/ShowEventsList",
          datatype: "json",
          success: function (result)
          {
  
              var data = JSON.parse(result);
              alert(data);
          }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/TZwG7.png" alt="enter image description here"></p>