【发布时间】:2015-09-18 10:49:58
【问题描述】:
NSJSONSerialization 有问题。我有一个带有纬度和经度值的 JSON 对象(37.321398,28.292399)。
NSData *l_responseData = [NSURLConnection sendSynchronousRequest:request returningResponse:&responseCode error:&error];
NSMutableDictionary* l_serverResult = [NSJSONSerialization JSONObjectWithData: l_responseData options:NSJSONReadingMutableContainers error:&error];
NSData *l_responseData 具有正确的数字而不会丢失 JSON 中的精度,但是当我使用 NSJSONSerialization JSONObjectWithData: l_responseData....
我该如何解决这个问题?
【问题讨论】:
标签: ios json nsjsonserialization