Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing an array from Parse into stringify yields different output #72

Closed
kenperkins opened this issue Aug 1, 2013 · 2 comments
Closed

Comments

@kenperkins
Copy link

var input = 'id=1&id=2';
qs.stringify(qs.parse(input));

output:

'id[0]=1&id[1]=2'
@tj
Copy link
Owner

tj commented Aug 1, 2013

rad thanks, I'll try and look into this soon

@buschtoens
Copy link
Collaborator

I personally find, that we shouldn't focus on returning the same output as the input (which is impossible anyways). We should focus one returning the shortest possible output.

Yeah, so basically this is a duplicate of #71.
Closing, if you don't mind. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants