{"action":"created","issue":{"url":"https://api.github.com/repos/Moya/Moya/issues/972","repository_url":"https://api.github.com/repos/Moya/Moya","labels_url":"https://api.github.com/repos/Moya/Moya/issues/972/labels{/name}","comments_url":"https://api.github.com/repos/Moya/Moya/issues/972/comments","events_url":"https://api.github.com/repos/Moya/Moya/issues/972/events","html_url":"https://github.com/Moya/Moya/issues/972","id":208262681,"number":972,"title":"Nested Parameters","user":{"login":"albertml","id":8196166,"avatar_url":"https://avatars.githubusercontent.com/u/8196166?v=3","gravatar_id":"","url":"https://api.github.com/users/albertml","html_url":"https://github.com/albertml","followers_url":"https://api.github.com/users/albertml/followers","following_url":"https://api.github.com/users/albertml/following{/other_user}","gists_url":"https://api.github.com/users/albertml/gists{/gist_id}","starred_url":"https://api.github.com/users/albertml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertml/subscriptions","organizations_url":"https://api.github.com/users/albertml/orgs","repos_url":"https://api.github.com/users/albertml/repos","events_url":"https://api.github.com/users/albertml/events{/privacy}","received_events_url":"https://api.github.com/users/albertml/received_events","type":"User","site_admin":false},"labels":[{"id":122272862,"url":"https://api.github.com/repos/Moya/Moya/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-16T22:07:37Z","updated_at":"2017-02-16T22:44:27Z","closed_at":null,"body":"How to setup nested parameters in Moya?\r\n\r\nThis is my parameters in moya:\r\n\r\nreturn [\"notification\": [\"title\": \"asdfasdfasdf\", \"body\": \"jlgjkl\", \"badge\": \"3\"], \"to\": \"receiverTokenHere\"]\r\n\r\nAnd this will be the return body in my logs, the format is different already:\r\n\r\nnotification%5Bbody%5D=asdfasdf&notification%5Btitle%5D=Albert%20send%20you%20message&notification%5Bbadge%5D=3&to=receiverTokenHere\"]\r\n\r\nI want to be formatted like this: \r\n\r\n{ \"notification\": {\r\n    \"title\": \"asdfasdfasdf\",\r\n    \"body\": \"jlgjkl\",\r\n    \"badge\": \"3\"\r\n  },\r\n  \"to\" : \"receiverTokenHere\"\r\n}\r\n\r\nThanks..."},"comment":{"url":"https://api.github.com/repos/Moya/Moya/issues/comments/280487506","html_url":"https://github.com/Moya/Moya/issues/972#issuecomment-280487506","issue_url":"https://api.github.com/repos/Moya/Moya/issues/972","id":280487506,"user":{"login":"albertml","id":8196166,"avatar_url":"https://avatars.githubusercontent.com/u/8196166?v=3","gravatar_id":"","url":"https://api.github.com/users/albertml","html_url":"https://github.com/albertml","followers_url":"https://api.github.com/users/albertml/followers","following_url":"https://api.github.com/users/albertml/following{/other_user}","gists_url":"https://api.github.com/users/albertml/gists{/gist_id}","starred_url":"https://api.github.com/users/albertml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertml/subscriptions","organizations_url":"https://api.github.com/users/albertml/orgs","repos_url":"https://api.github.com/users/albertml/repos","events_url":"https://api.github.com/users/albertml/events{/privacy}","received_events_url":"https://api.github.com/users/albertml/received_events","type":"User","site_admin":false},"created_at":"2017-02-16T22:44:27Z","updated_at":"2017-02-16T22:44:27Z","body":"hey @pedrovereza, yeah you are right... I forgot to call the parameter encoding that's why it is happen... its working now. thanks"}}
{"actor":{"display_login":"albertml"}}