{"action":"created","issue":{"url":"https://api.github.com/repos/square/retrofit/issues/1064","labels_url":"https://api.github.com/repos/square/retrofit/issues/1064/labels{/name}","comments_url":"https://api.github.com/repos/square/retrofit/issues/1064/comments","events_url":"https://api.github.com/repos/square/retrofit/issues/1064/events","html_url":"https://github.com/square/retrofit/issues/1064","id":105202514,"number":1064,"title":"Send an array list to Backend server using Retrofit","user":{"login":"hdkcomm","id":8678005,"avatar_url":"https://avatars.githubusercontent.com/u/8678005?v=3","gravatar_id":"","url":"https://api.github.com/users/hdkcomm","html_url":"https://github.com/hdkcomm","followers_url":"https://api.github.com/users/hdkcomm/followers","following_url":"https://api.github.com/users/hdkcomm/following{/other_user}","gists_url":"https://api.github.com/users/hdkcomm/gists{/gist_id}","starred_url":"https://api.github.com/users/hdkcomm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdkcomm/subscriptions","organizations_url":"https://api.github.com/users/hdkcomm/orgs","repos_url":"https://api.github.com/users/hdkcomm/repos","events_url":"https://api.github.com/users/hdkcomm/events{/privacy}","received_events_url":"https://api.github.com/users/hdkcomm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-07T11:57:36Z","updated_at":"2015-09-17T20:58:09Z","closed_at":"2015-09-17T20:58:09Z","body":" @FormUrlEncoded\r\n    @POST(\"/users/search\")\r\n    void search(@Field(\"value\") String value, Callback<List<userItem>> users);\r\n\r\nI want to change value to array list which contains like\r\n\r\nvalue[\"name\"] = \"foo@bar.com\"\r\nuser[\"phone\"] = \"123456\" \r\nvalue[\"name\"] = \"foo@bar.com\"\r\nuser[\"phone\"] = \"123456\" \r\nvalue[\"name\"] = \"foo@bar.com\"\r\nuser[\"phone\"] = \"123456\" \r\n\r\nand so on."},"comment":{"url":"https://api.github.com/repos/square/retrofit/issues/comments/141226616","html_url":"https://github.com/square/retrofit/issues/1064#issuecomment-141226616","issue_url":"https://api.github.com/repos/square/retrofit/issues/1064","id":141226616,"user":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T20:58:09Z","updated_at":"2015-09-17T20:58:09Z","body":"There's no easy way to do this. You'll want to create something nice in your application layer to map to what Retrofit needs. You can also just create a `FormEncodedTypedInput` and build the key/value pairs yourself.\r\n```java\r\n@FormUrlEncoded\r\n@POST(\"/users/search\")\r\nvoid search(\r\n    @Field(\"value[\\\"name\\\"]\") List<String> values,\r\n    @Field(\"user[\\\"name\\\"]\") List<String> phones,\r\n    Callback> users);\r\n```"}}