andrewplummer/Sugar — pull request #424 by SmileyChris (2014-05-17 02:26:35+00:00)
Title: Shallow querystrings

Not all web frameworks use array notation for query strings (for example, Django). This adds a new parameter to the `Object.toQueryString` and `Object.fromQueryString` functions allowing for shallow parsing of objects passed to these methods.

For example:
```javascript
Object.toQueryString({type: ['a', 'b']}, null, true) == "type=a&type=b"
Object.fromQueryString('test=1&test=2', false, true) == {test: ['1', '2']}
```