{"action":"created","issue":{"url":"https://api.github.com/repos/dalwadi2/RetrofitRetry/issues/1","repository_url":"https://api.github.com/repos/dalwadi2/RetrofitRetry","labels_url":"https://api.github.com/repos/dalwadi2/RetrofitRetry/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dalwadi2/RetrofitRetry/issues/1/comments","events_url":"https://api.github.com/repos/dalwadi2/RetrofitRetry/issues/1/events","html_url":"https://github.com/dalwadi2/RetrofitRetry/issues/1","id":234103464,"number":1,"title":"Not identify JSON data ","user":{"login":"rajeshlawrance","id":5163495,"avatar_url":"https://avatars2.githubusercontent.com/u/5163495?v=3","gravatar_id":"","url":"https://api.github.com/users/rajeshlawrance","html_url":"https://github.com/rajeshlawrance","followers_url":"https://api.github.com/users/rajeshlawrance/followers","following_url":"https://api.github.com/users/rajeshlawrance/following{/other_user}","gists_url":"https://api.github.com/users/rajeshlawrance/gists{/gist_id}","starred_url":"https://api.github.com/users/rajeshlawrance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajeshlawrance/subscriptions","organizations_url":"https://api.github.com/users/rajeshlawrance/orgs","repos_url":"https://api.github.com/users/rajeshlawrance/repos","events_url":"https://api.github.com/users/rajeshlawrance/events{/privacy}","received_events_url":"https://api.github.com/users/rajeshlawrance/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-07T06:19:15Z","updated_at":"2017-06-07T08:53:25Z","closed_at":"2017-06-07T08:53:25Z","body":"Hi\r\n\r\nHow to get the json response data in this method in below sample code. \r\n```\r\n\r\n @Override\r\n                    public void onResponse(Call<Sample> call, Response<Sample> response) {\r\n                        progress.hideDialog();\r\n\r\n                        System.out.println(\"response\"+call.request().body().toString());\r\n\r\n                        if (!response.body().isError()) {\r\n                            Toast.makeText(MainActivity.this, \"Success\", Toast.LENGTH_SHORT).show();\r\n                        } else {\r\n                            Toast.makeText(MainActivity.this, response.body().getMessage(), Toast.LENGTH_SHORT).show();\r\n                        }\r\n                    }\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/dalwadi2/RetrofitRetry/issues/comments/306732897","html_url":"https://github.com/dalwadi2/RetrofitRetry/issues/1#issuecomment-306732897","issue_url":"https://api.github.com/repos/dalwadi2/RetrofitRetry/issues/1","id":306732897,"user":{"login":"dalwadi2","id":16306370,"avatar_url":"https://avatars2.githubusercontent.com/u/16306370?v=3","gravatar_id":"","url":"https://api.github.com/users/dalwadi2","html_url":"https://github.com/dalwadi2","followers_url":"https://api.github.com/users/dalwadi2/followers","following_url":"https://api.github.com/users/dalwadi2/following{/other_user}","gists_url":"https://api.github.com/users/dalwadi2/gists{/gist_id}","starred_url":"https://api.github.com/users/dalwadi2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalwadi2/subscriptions","organizations_url":"https://api.github.com/users/dalwadi2/orgs","repos_url":"https://api.github.com/users/dalwadi2/repos","events_url":"https://api.github.com/users/dalwadi2/events{/privacy}","received_events_url":"https://api.github.com/users/dalwadi2/received_events","type":"User","site_admin":false},"created_at":"2017-06-07T08:53:25Z","updated_at":"2017-06-07T08:53:25Z","body":"@rajeshlawrance If you want to show your full JSON response then you've to use **ResponseBody** instead of **Sample** in your APIInterface class and here as well. You can see the response using `response.body().string()`.\r\n\r\nthanks."}}
{"actor":{"display_login":"dalwadi2"}}