Open brianreavis opened 12 years ago
+1 from me though you could key them:
> require('qs').parse('photo[foo][id]=1&photo[foo][caption]=hey')
{ photo: { foo: { id: '1', caption: 'hey' } } }
This is still an issue, however you could use the built-in querystring module as a workaround.
Scenario:
qs.parse
returns:The correct version should be:
Otherwise, it's impossible to maintain associations between the ordered fields.