后台传过来一些数据 跟本地的json文件数据 对比一下
然后将不同的改成相同的数据 保持到原来的Json文件中 用什么样的方法可以保存到Json文件中
认证0级讲师
Isn’t this the file operation code? Isn’t it okay to download a new one and overwrite the previous one? The easiest way is to delete the old one and save the new one
JSON to dictionary > Modify dictionary > Dictionary to string > NSFileManager String to file
Isn’t this the file operation code?
Isn’t it okay to download a new one and overwrite the previous one?
The easiest way is to delete the old one and save the new one
JSON to dictionary > Modify dictionary > Dictionary to string > NSFileManager String to file