title: build json data in javascript
body: <p>Let's say that I have some json data like this:</p>
  
  <pre><code>[{
      "id":1,
      "text":"text1"
  },{
      "id":2,
      "text":"text2"
  }]
  </code></pre>
  
  <p>How do I build something like this in javascript, for example, I wanna have a javascript variable <code>my_json_object</code> that contains the json object above, but how can I build that json object in javascript or jquery?</p>
  
  <p>Thank you</p>