最后,我解决了与json宽松模式无关的问题,我的POST响应出了点问题(在json数据之前还有其他一些非json输出)。
这是JakeWharton关于如何设置Gson宽容模式的回复:
确保您具有:
compile 'com.google.pre.gson:gson:2.6.1'
Gson gson = new GsonBuilder() .setLenient() .create();Retrofit retrofit = new Retrofit.Builder() .baseUrl(base_URL) .client(client) .addConverterFactory(GsonConverterFactory.create(gson)) .build();



