0
嗨即時通訊使用jsonkit反序列化json套件數據。這是我使用的代碼。jsonkit解碼
NSString * strResult = [[NSString alloc] initWithData:data
encoding:NSUTF8StringEncoding];
nslog(@"strresult");
NSDictionary *deserializedData = [strResult objectFromJSONString];
nslog(@"result");
o/p:
"data": {
"translations": [
{
"translatedText": "hello"
}
]
}
}
result {
data = {
translations = (
{
translatedText = "\U091c\U093e\U0928\U093e";
}
);
};
}
是什麼問題?????在此先感謝