title: How to push data into a JSON variable
body: <p>I have a JSON variable which looks like this :</p>
  
  <pre><code>{"events": [
  {"event_id": "1", "event_name": "Breakfast"},
  {"event_id": "1", "event_name": "Calling Bob"}
  ]}
  </code></pre>
  
  <p>I need to push another attribute in each event with javascript and make it look like this: </p>
  
  <pre><code>{"events": [
  {"event_id": "1", "event_name": "Breakfast", "event_type": "calendar"},
  {"event_id": "1", "event_name": "Calling Bob", "event_type": "calendar"}
  ]}
  </code></pre>