ios 数据库存储json数据

 NSData *data = [NSJSONSerialization dataWithJSONObject:info.bdata options:NSJSONWritingPrettyPrinted error:nil];
            NSString *jsonStr = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
            [[FMDataBaseManager shareInstance] insterCustomerDtail:customerId jsonList:jsonStr];

  

posted @ 2016-12-26 16:29  牵着蜗牛走的我  阅读(890)  评论(0编辑  收藏  举报