ystring = m.buildQueryString({a: 1, b: 2})

// querystring is &quot;a=1&amp;b=2&quot;
</code></pre>
<h4 id="deep-data-structures"><a href="#deep-data-structures">Deep data structures</a></h4>
<p>Deep data structures are serialized in a way that is understood by popular web application servers such as PHP, Rails and ExpressJS</p>
<pre><code class="lang-javascript">var querystring = m.buildQueryString({a: [&quot;hello&quot;, &quot;world&quot;]})

// querystring is &quot;a[0]=hello&amp;a[1]=world&quot;
</code>