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];