11 lines
311 B
Markdown
11 lines
311 B
Markdown
第一代 Json Parser,没有参考任何资料,实现了:
|
||
|
||
1. 从字符串解析出 Json 对象
|
||
2. 支持 '\' 转义
|
||
3. 支持数字、字符串、布尔值、null、数组、对象
|
||
4. 支持解析出错时返回错误信息
|
||
|
||
暂未支持的功能:
|
||
|
||
1. 不支持解析 '\uXXXX' 形式的 Unicode 字符
|