Retrofit How To Print Out Response JSON
问题 I'm using Retrofit and I want to get access to the JSON response that is returned from the server. Could someone please advise me. Thanks 回答1: if you only want to see the respones for debugging purpose just turn on debugging in retrofit and look at the log. It's something like: restAdapter.setDebuggingEnabled(true); If you need access to the direct response in code all of the time, you should be doing that at the httpclient level as it's basically bypassing the purpose of retrofit 回答2: To