title: Nodejs - Express - Nested Post data not parsing properly
body: <p>I want to post form with nested post element</p>
  
  <p><strong>View in HTML</strong></p>
  
  <pre><code>&lt;form method="post" action=""&gt;
  &lt;input type="text" placeholder="Enter Tag here" class="gui-input" name="reply_message"&gt;
  &lt;input type="text" placeholder="Enter Label for Decision" class="gui-input" name="decision[0][label]" value="Interested"&gt;
  &lt;input type="text" placeholder="Enter decision keywords here" class="gui-input" data-role="tagsinput" name="decision[0][keyword]" value="Interested, call me"&gt;
  &lt;input type="text" placeholder="Enter Label for Decision" class="gui-input" name="decision[1][label]" value="Not Interested"&gt;
  &lt;input type="text" placeholder="Enter decision keywords here" class="gui-input" data-role="tagsinput" name="decision[1][keyword]" value="not interested, not"&gt;
  &lt;input type="text" placeholder="Enter Label for Decision" class="gui-input" name="decision[2][label]" value="Call Later"  &gt;
  &lt;input type="text" placeholder="Enter decision keywords here" class="gui-input" data-role="tagsinput" name="decision[2][keyword]" value="Interested, call me, later"&gt;
  &lt;button class="button btn-primary" type="submit"&gt;Submit &lt;/button&gt;
  </code></pre>
  
  <p><strong>Router File</strong></p>
  
  <pre><code>router.post('/mapping', isLoggedIn, function (req, res, next) {
     var posted_data= req.body;
     console.log(req.body);
     res.send(posted_data);
  });
  </code></pre>
  
  <p><strong>I am getting Posted Data structure like this</strong> </p>
  
  <pre><code>{
      "reply_message": "This is test",
      "decision[0][label]": "Interested",
      "decision[0][keyword]": "Interested, call me",
      "decision[1][label]": "Not Interested",
      "decision[1][keyword]": "not interested, not",
      "decision[2][label]": "Call Later",
      "decision[2][keyword]": "Interested, call me, later"
  }
  </code></pre>
  
  <p>But actual Posted data structure should be</p>
  
  <pre><code>{
      "reply_message": "This is test",
      "decision": [{
          "label": "Interested",
          "keyword": "Interested, call me"
      }, {
          "label": "Not Interested",
          "keyword": "not interested, not"
      }, {
          "label": "Call Later",
          "keyword": "Interested, call me, later"
      }]
  }
  </code></pre>
  
  <p>So how ca I achieve this, Is there any node module i have to use for posted form data like this?</p>