在iPhone/iPod上保存和编辑JSON [英] Saving and Editing JSON on iPhone/iPod

查看:95
本文介绍了在iPhone/iPod上保存和编辑JSON的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在iPhone/iPod上编辑和保存JSON文件的最佳方法是什么?我知道有一些库可以让您轻松读取JSON数据,但是有没有可以生成它的库?

解决方案

TouchJSON 读取并生成JSON,速度非常快,并且使用的内存很少.

JSON框架据说速度更快,但使用的内存更多.

iPhone还包括一个内置JSON解析器/生成器,但只能通过私有API使用.您可能不应该使用这个.

What's the best method for editing and saving a JSON file on the iPhone/iPod? I know there are libraries that allow you to easily read JSON data, but are there any that allow you to generate it?

解决方案

TouchJSON reads and generates JSON, is quite fast, and uses very little memory.

JSON Framework is supposedly faster, but uses much more memory.

The iPhone also includes a built-in JSON parser/generator, but it's only available through private APIs. You probably shouldn't use this one.

这篇关于在iPhone/iPod上保存和编辑JSON的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆