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

fix #11: flattened keys in array are now correctly parsed #13

Merged
merged 1 commit into from Aug 7, 2014

Conversation

maxleiko
Copy link
Contributor

@maxleiko maxleiko commented Aug 7, 2014

Qs can now parse:

anArray[0][a]=a&anArray[0][b]=b&anArray[1][a]=aa&anArray[1][b]=bb
to

var data = {
  anArray: [
    { a: 'a', b: 'b' },
    { a: 'aa', b: 'bb' }
  ]
};

@nlf
Copy link
Collaborator

nlf commented Aug 7, 2014

Good catch! Thanks

nlf added a commit that referenced this pull request Aug 7, 2014
fix #11: flattened keys in array are now correctly parsed
@nlf nlf merged commit bf9fb92 into ljharb:master Aug 7, 2014
@nlf nlf added the bug label Aug 7, 2014
@nlf nlf added this to the 1.1.1 milestone Aug 7, 2014
@nlf nlf self-assigned this Aug 7, 2014
nlf added a commit that referenced this pull request Aug 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants