title: How to create Nested array of json objects below using javascript
body: <p>Below is my custom json structure how can i create this using javascript</p>
  
  <p>var heading = "someValue";</p>
  
  <p>creating below json structure appending heading  value getting problem</p>
  
  <pre><code>{
      "check": {
          heading : [{
              "CheckName": "CheckJSON"
          }, {
              "CheckName": "checkJson121"
          }],
          heading : [{
              "CheckName": "CheckJSON"
          }]
      }
  }
  </code></pre>