{"action":"closed","issue":{"url":"https://api.github.com/repos/square/retrofit/issues/1944","repository_url":"https://api.github.com/repos/square/retrofit","labels_url":"https://api.github.com/repos/square/retrofit/issues/1944/labels{/name}","comments_url":"https://api.github.com/repos/square/retrofit/issues/1944/comments","events_url":"https://api.github.com/repos/square/retrofit/issues/1944/events","html_url":"https://github.com/square/retrofit/issues/1944","id":167520177,"number":1944,"title":"when response is a simple string","user":{"login":"zhuxiang1985","id":7624574,"avatar_url":"https://avatars.githubusercontent.com/u/7624574?v=3","gravatar_id":"","url":"https://api.github.com/users/zhuxiang1985","html_url":"https://github.com/zhuxiang1985","followers_url":"https://api.github.com/users/zhuxiang1985/followers","following_url":"https://api.github.com/users/zhuxiang1985/following{/other_user}","gists_url":"https://api.github.com/users/zhuxiang1985/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuxiang1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuxiang1985/subscriptions","organizations_url":"https://api.github.com/users/zhuxiang1985/orgs","repos_url":"https://api.github.com/users/zhuxiang1985/repos","events_url":"https://api.github.com/users/zhuxiang1985/events{/privacy}","received_events_url":"https://api.github.com/users/zhuxiang1985/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-26T04:45:13Z","updated_at":"2016-08-01T04:37:05Z","closed_at":"2016-08-01T04:37:05Z","body":"```\r\n  public static interface testService{\r\n        @POST(\"/\")\r\n        Call<String> send(@QueryMap Map<String, String> para);\r\n\r\n        @POST(\"/json\")\r\n        Call<Map> send2(@QueryMap Map<String, String> para);\r\n    }\r\n\r\n\r\ntestService service = retrofit.create(testService.class);\r\n       Call<String> call = service.send(map);\r\n        Response<String> response = call.execute();\r\n\r\n       Call<Map> call = service.send2(map);\r\n        Response<Map> response = call.execute();\r\n```\r\nI post a request(send2) to the server use this service. when the response is a Json formate or Java Entity,everything is ok, but when I use \"send\" service and server response a simple string ,like \"errorCode=1234\", we will catch a Exception \" Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path \" . How can I do now?"}}
{"actor":{"display_login":"JakeWharton"}}