private static String jsonString(String s){ char[] temp = s.toCharArray(); int n = temp.length; for(int i =0;i<n;i++){ if(temp[i]==':'&&temp[i+1]=='"'){ for(int j =i+2;j<n;j++){ if(temp[j]=='"'){ if(temp[j+1]!=',' && temp[j+1]!='}'){ temp[j]='”'; }else if(temp[j+1]==',' || temp[j+1]=='}'){ break ; } } } } } return new String(temp); }