{"action":"created","issue":{"url":"https://api.github.com/repos/zhou-you/RxEasyHttp/issues/34","repository_url":"https://api.github.com/repos/zhou-you/RxEasyHttp","labels_url":"https://api.github.com/repos/zhou-you/RxEasyHttp/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/zhou-you/RxEasyHttp/issues/34/comments","events_url":"https://api.github.com/repos/zhou-you/RxEasyHttp/issues/34/events","html_url":"https://github.com/zhou-you/RxEasyHttp/issues/34","id":275065432,"number":34,"title":"数据解析+错误回调ApiException为null","user":{"login":"zhumj","id":8665756,"avatar_url":"https://avatars2.githubusercontent.com/u/8665756?v=4","gravatar_id":"","url":"https://api.github.com/users/zhumj","html_url":"https://github.com/zhumj","followers_url":"https://api.github.com/users/zhumj/followers","following_url":"https://api.github.com/users/zhumj/following{/other_user}","gists_url":"https://api.github.com/users/zhumj/gists{/gist_id}","starred_url":"https://api.github.com/users/zhumj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhumj/subscriptions","organizations_url":"https://api.github.com/users/zhumj/orgs","repos_url":"https://api.github.com/users/zhumj/repos","events_url":"https://api.github.com/users/zhumj/events{/privacy}","received_events_url":"https://api.github.com/users/zhumj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-18T08:58:59Z","updated_at":"2017-11-21T10:18:35Z","closed_at":null,"author_association":"NONE","body":"1、数据解析兼容这方面太差了，如果每个接口返回String来解决通用的问题，那每个请求就还需要在外面对code进行判断是否请求成功，因为我打印结果直接是 “{code:1,msg:\"success\",data:{age:1,name:\"zhangsan\"}}” 这样的一个字符串，而不是把 “data” 的数据转换为String类型回传，这很繁琐，还不如直接把数据解析去掉还能减少一些包的大小呢。\r\n2、还有ApiRestult替换太麻烦。\r\n3、最后还有一个错误回调ApiException没有返回的问题，虽然onError(e: ApiException)方法调用了，但是ApiException为空。\r\n希望这几个问题能改善一下"},"comment":{"url":"https://api.github.com/repos/zhou-you/RxEasyHttp/issues/comments/345981122","html_url":"https://github.com/zhou-you/RxEasyHttp/issues/34#issuecomment-345981122","issue_url":"https://api.github.com/repos/zhou-you/RxEasyHttp/issues/34","id":345981122,"user":{"login":"zhou-you","id":15211403,"avatar_url":"https://avatars2.githubusercontent.com/u/15211403?v=4","gravatar_id":"","url":"https://api.github.com/users/zhou-you","html_url":"https://github.com/zhou-you","followers_url":"https://api.github.com/users/zhou-you/followers","following_url":"https://api.github.com/users/zhou-you/following{/other_user}","gists_url":"https://api.github.com/users/zhou-you/gists{/gist_id}","starred_url":"https://api.github.com/users/zhou-you/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhou-you/subscriptions","organizations_url":"https://api.github.com/users/zhou-you/orgs","repos_url":"https://api.github.com/users/zhou-you/repos","events_url":"https://api.github.com/users/zhou-you/events{/privacy}","received_events_url":"https://api.github.com/users/zhou-you/received_events","type":"User","site_admin":false},"created_at":"2017-11-21T10:18:35Z","updated_at":"2017-11-21T10:18:35Z","author_association":"OWNER","body":"1.数据解析这块库里是有默认的数据结构，如果数据结构不正确可以自定义数据结构。\r\n2.ApiResult替换太麻烦？这个值需要简单的继承，覆写自定义的就可以了。假如你的应用有100+个接口，是每个接口都自己去写解析复杂麻烦呢？还是花时间研究自定义ApiRestult，弄懂一个，其它99+共用，这个请自己评估。\r\n3.错误了ApiException为空，还从来没有人反馈过呢，请详细描述下，是空指针，还是？？"}}
{"actor":{"display_login":"zhou-you"}}