IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product
在logcat中打后台打印json数据时,json数据太过于长就会有打印不全的问题,这里记录一个办法就是分段打印:
// 采用分段打印 四千字符分一段
if (response.length() > 4000) {
for (int i = 0; i < response.length(); i += 4000) {
if (i + 4000 < response.length()) {
Log.i(第 + i + 数据, response.substring(i