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.
我的 json 字符串来自我的 Web 服务,我将其存储到 nsdictionary 对象中。现在我想将其转换为 xml 字符串。任何人都知道如何在不使用任何外部库的情况下执行此操作...!?!
查看以下链接。希望这是您正在寻找的。:)
如何使用 iPhone sdk 将 XML 字符串转换为 JSON
如何在目标 C 中将 JSON 转换为 XML?
Objective-c 中的自动解析库 - [自动 XML/JSON 到对象转换]