}
}
//如果是json的话,则需要以递归的方式,逐层寻找并对比
else{
BJSON service =new BJSON();
HashMap<String, String> diffHash=service.findDiffSingleInJson(actual,expectedStr);
if(diffHash.size()!=0){
for(Entry<String, String> it :diffHash.entrySet()){
log.error(it.getKey()+"----"+it.getValue());
}
Assert.assertEquals(0, diffHash.size());