sbjson

    -1热度

    1回答

    我有一个应用程序,我有一个网址工作,因此我得到的回应 我使用ASIHTTPRequest来请求URL 这里是我的要求 -(void)getTips { if ([CommonFunctions networkConnected]) { ShowNetworkActivityIndicator(); NSString *strPhp = @"staticpage.p

    0热度

    1回答

    我遇到一个错误使用SBJSON解析器对一个响应字符串从PHP web服务返回: NSString *responseString = [[NSString alloc] initWithData:responseData encoding:NSUTF8StringEncoding]; NSError *error; SBJSON *json = [SBJSON new]; NSArray

    1热度

    1回答

    你好我们正在使用版本为'SBJson','〜> 2.2.3'的SBJson lib,并且希望迁移到最新版本的pod'SBJson5','〜> 5.0.0'。 什么是努力迁移。我的意思是它会支持旧的方法,或者我是否需要查找已弃用或已更改的方法或任何其他具体更改。 是否有人使用此lib或完成与SBJson的迁移后张贴到此线程。 请建议一些解决方案

    0热度

    1回答

    我创办这个错误“为‘SBJson4Parser’不可见的@interface声明选择‘objectWithString:错误’”当我做在我的代码中导入“SBJson4.h”。我不知道为什么我弄错了这个错误。 SBJson4Parser *parser = [[SBJson4Parser alloc] init]; NSURLRequest *request = [NSURLRequest req

    0热度

    1回答

    我根据学校的菜单和菜品开发一个应用,在那里我坚持在解析复杂/嵌套JSON 样品的Json网址: Json Data 到目前为止,我刚做这为使用SBJSON在下面的代码中提到: dispatch_async(dispatch_get_main_queue(),^ { Reachability *reachability = [Reachability reachabilityForInt

    1热度

    1回答

    我试图从我的WordPress博客解析JSON提要。我有一个我需要使用的自定义字段,但无法使其与SBJson一起使用。这里是我的饲料看起来像(我已经剥离了其他无用的东西): { "status":"ok", "count":27, "count_total":2552, "pages":95, "posts":[ { "id

    0热度

    1回答

    我的应用程序有时会因以下原因而崩溃。它来自SBJSON库。 Application Specific Information: Selector name found in current argument registers: appendDictionary:into: Thread 0 Crashed: 0 MyApp 0x00000001006a5020 -[SBJso

    0热度

    1回答

    有谁知道如何迅速使用SBJson库? 我有这个代码在Objective-C NSString *responseString = [request responseString]; NSDictionary *responseDict = [responseString JSONValue]; 与 var responseString = request.responseString le

    1热度

    1回答

    我有一个小的应用程序,我在XCode6测试,我得到2个为SBSJsonParser.m编译器警告文件 语义问题变量“K”可以是未初始化这里使用时(在功能scanRestOfDictionary ) C++;如果(![self scanValue:& v]){ NSString * string = [NSString stringWithFormat:@“对象键值的期望值:%@”,k]; [sel

    0热度

    1回答

    快速的问题: 如何使用SBJSON4 的字符串是UTF-8从Web REST API编码的JSON字符串我解析的NSString。 我需要一个带解析数据的NSDIctionary。该字符串保证是一个完整的JSON文档。 @interface NSOperationParseJSON() @property (weak, nonatomic) id<JSONParseDelegate> dele