stretchr/arg.js — pull request #11 by joshschumacher (2013-10-02 22:11:07+00:00)
Title: Fixed issues in parse causing improperly parsed complex query strings

## Re-wrote `Arg._access` method

- Will now optionally coerce a native type out of value if possible (ie Number, Boolean, undefined, etc).
- To not coerce, set `Arg.coerceMode = false`
- Better handling of complex objects that have mixed nested objects/arrays.
- See new test case added to `test/spec/arg.js` for an example object that was failing and is no longer failing.
- Removed the need for boolean `shouldSet` value passed to `Arg._access`. Now assumes if `value` is undefined that you are in get mode and `shouldSet = false`.