Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以从xcdatamodel生成JSON文件?
这是我想象它的工作方式:给定一个xcdatamodel文件,通过一些带有一些自定义逻辑的程序(可能由我编写),将生成JSON文件供我在第三方库中使用。我的问题:这可能吗?有人做过吗?
xcdatamodel的内容是一个content带有xml数据和bin文件(无扩展名)的文件,所以现在很容易解析xml为json.
content
xml
json