English 中文(简体)
Weird Response JSON on (andime simulator) only
原标题:Weird Response JSON on iPhone (and iPhone simulator) only

我向我的服务器发送了一份名单,更新名单,并寄回更新名单。 但是,当我收到答复时,我回去了一些我们ir的人:

“0”

正常产出不应有“d”和所有斜坡......

有什么想法?

我如何取得这一成果:

NSString *responseString = [[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding];
    NSLog(@"ResponseString from Server: %@",responseString);

提前感谢,

Lewion

最佳回答

这可能与服务器中的儿子模块有关,而不是与Piit中的儿子模块有关。

There are many ways to solve it. For example: 1. Replace the " with " and after getting the JSON object get the value of the key "d" as the final object, 2. Try looking on the son module in the server and either try to config it to have a different configuration or replace it with a better one.

如果你需要帮助第二种选择,你就需要张贴与服务器有关的更多数据。

问题回答

暂无回答




相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签