Json Parser 自己用python 手动实现一个 JSON Parser 主要用于训练自己的编程能力和解决问题的思维。 总结一下,主要要点是。 tokenize 枚举和类 递归 不要贪心,从简单到复杂一步步测试 text = "{}" d = JsonParser.loads(text)