title: NodeJS : Need Help To build object with some Brackets and Braces
body: <p>In my project I use request lib () and i would like to use <a href="https://github.com/request/request#requestoptions-callback" rel="nofollow noreferrer">qsStringifyOptions</a> for query parametre but it's to much complicated in my case :/</p>
  <p>In their documentation they link <a href="https://github.com/ljharb/qs" rel="nofollow noreferrer">qs</a> module to use qsStringifyOptions like them</p>
  <p>I would like to have this URL</p>
  <pre><code>http://127.0.0.1:80/endpoint?foo=bar[baz:3]&amp;aaa=[{baa:X,caa:XX,daa:[{eaa:Z,faa:ZZ}]}]&amp;data[B]=BB&amp;data[C]=CC
  </code></pre>
  <p>but I have this URL:</p>
  <pre><code>http://127.0.0.1:80/endpoint?foo=bar[baz:3]&amp;aaa=[%7B%22baa%22:%22X%22,%22caa%22:%22XX%22,%22daa%22:[%7B%22eaa%22:%22Z%22,%22faa%22:%22ZZ%22%7D]%7D]&amp;data[B]=BB&amp;data[C]=CC
  </code></pre>
  <p>With this solution, the 'foo' attribute and data[B] and data[C] work fine but 'aaa' attribut not at all :</p>
  <pre><code>{ // some standar param URI, methode ...
      useQuerystring: false,
      qsStringifyOptions : {encodeValuesOnly: true, encode: false,  indices: false},
      qs : {
        foo: 'bar[baz:1]',
        aaa:'[{&quot;baa&quot;:&quot;X&quot;,&quot;caa&quot;:&quot;XX&quot;,&quot;daa&quot;:[{&quot;eaa&quot;:&quot;Z&quot;,&quot;faa&quot;:&quot;ZZ&quot;}]}]',
        data: {B:'BB', C:'CC'}
      }
  }
  </code></pre>
  <p>what i'm doing wrong?  i just want it not to parse the 'aaa' attribute
  thank you in advance for your help and your time</p>