【问题标题】:What is the best approach to make a simple json parser with swift? [closed]用 swift 制作简单的 json 解析器的最佳方法是什么? [关闭] 【发布时间】:2014-09-22 20:02:27 【问题描述】: 只是为了了解json解析的基础知识。 【问题讨论】: 标签: ios json swift 【解决方案1】: 我会尝试的事情: 这里有人有一个用 Swift 解析 JSON 的答案:How to parse a JSON file in swift? 查看本教程:http://jamesonquave.com/blog/developing-ios-apps-using-swift-tutorial-part-2/ 看看别人做了什么;您可以查看 GitHub 以查找 JSON 解析器(例如:https://github.com/stig/json-framework/)。然后用 Swift 重写。 祝你好运! 【讨论】: