Authored by peuei

fix

... ... @@ -2,6 +2,7 @@ package com.yoho.datasync.consumer.common;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONException;
import com.alibaba.fastjson.JSONObject;
import java.util.Map;
... ... @@ -28,6 +29,8 @@ public class ContentConvertUtil {
for (Object key : result.keySet()) {
if (result.get(key) instanceof Integer) {
result.put(key, result.get(key));
} else if (result.get(key) instanceof JSONObject) {
result.put(key, result.get(key));
} else {
final Object innerMap = jsonString2Map((String) result.get(key));
if (innerMap != null)
... ... @@ -38,4 +41,6 @@ public class ContentConvertUtil {
}
return result;
}
}
... ...