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.
我需要将 NextStep Plist 字符串转换为 JSON 格式 有什么库可以做吗?
[NSJSONSerialization dataWithJSONObject:(id) options:(NSJSONWritingOptions) error:(NSError *__autoreleasing *)]
在 OS X 的命令行中转换 FILENAME:
plutil -convert json -r -e json FILENAME
这会将文件转换为 JSON 格式并为其提供 .json 扩展名。