{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/2705","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/2705/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/2705/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/2705/events","html_url":"https://github.com/aspnet/Mvc/issues/2705","id":88758994,"number":2705,"title":"Will Default Model Binder support array binding for form datas like: numbers[]?","user":{"login":"evorine","id":3532488,"avatar_url":"https://avatars.githubusercontent.com/u/3532488?v=3","gravatar_id":"","url":"https://api.github.com/users/evorine","html_url":"https://github.com/evorine","followers_url":"https://api.github.com/users/evorine/followers","following_url":"https://api.github.com/users/evorine/following{/other_user}","gists_url":"https://api.github.com/users/evorine/gists{/gist_id}","starred_url":"https://api.github.com/users/evorine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evorine/subscriptions","organizations_url":"https://api.github.com/users/evorine/orgs","repos_url":"https://api.github.com/users/evorine/repos","events_url":"https://api.github.com/users/evorine/events{/privacy}","received_events_url":"https://api.github.com/users/evorine/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Mvc/labels/Model%20Binding","name":"Model Binding","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"dougbu","id":6431421,"avatar_url":"https://avatars.githubusercontent.com/u/6431421?v=3","gravatar_id":"","url":"https://api.github.com/users/dougbu","html_url":"https://github.com/dougbu","followers_url":"https://api.github.com/users/dougbu/followers","following_url":"https://api.github.com/users/dougbu/following{/other_user}","gists_url":"https://api.github.com/users/dougbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dougbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougbu/subscriptions","organizations_url":"https://api.github.com/users/dougbu/orgs","repos_url":"https://api.github.com/users/dougbu/repos","events_url":"https://api.github.com/users/dougbu/events{/privacy}","received_events_url":"https://api.github.com/users/dougbu/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-06-16T15:24:29Z","updated_at":"2015-06-16T16:32:47Z","closed_at":null,"body":"When I post my form data as `numbers[0]=1&numbers[1]=1&numbers[2]=2&numbers[3]=3` or `numbers=1&numbers=1&numbers=2&numbers=3` the default model binder binds my array.\r\n\r\nBut as I know many frameworks support as `numbers[]=1&numbers[]=1&numbers[]=2&numbers[]=3`. So by default jQuery ajax functions use this format too.\r\n\r\nWhen I send a simple data with ajax:\r\n```javascript\r\n$.ajax({\r\n    url: '@Url.Action(\"Test1\")',\r\n    data: { numbers: [1, 1, 2, 3, 5] },\r\n    method: 'POST'\r\n});\r\n```\r\nIt sends this as `numbers[]=1&numbers[]=1&numbers[]=2&numbers[]=3&numbers[]=5`.\r\n\r\nBecause of that its a little hard to post array data using ajax. I have to convert my arrays to objects whose parameters are indexes like `{\"0\": 1, \"1\": 1, \"2\": 2, \"3\": 3}` or make some changes in jQuery's ajax functions.\r\n\r\nSo will MVC support this type of binding by default?"},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/112489663","html_url":"https://github.com/aspnet/Mvc/issues/2705#issuecomment-112489663","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/2705","id":112489663,"user":{"login":"danroth27","id":1874516,"avatar_url":"https://avatars.githubusercontent.com/u/1874516?v=3","gravatar_id":"","url":"https://api.github.com/users/danroth27","html_url":"https://github.com/danroth27","followers_url":"https://api.github.com/users/danroth27/followers","following_url":"https://api.github.com/users/danroth27/following{/other_user}","gists_url":"https://api.github.com/users/danroth27/gists{/gist_id}","starred_url":"https://api.github.com/users/danroth27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danroth27/subscriptions","organizations_url":"https://api.github.com/users/danroth27/orgs","repos_url":"https://api.github.com/users/danroth27/repos","events_url":"https://api.github.com/users/danroth27/events{/privacy}","received_events_url":"https://api.github.com/users/danroth27/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T16:32:47Z","updated_at":"2015-06-16T16:32:47Z","body":"@dougbu Can you confirm we don't support this syntax in MVC 5 & 6?"}}