GitHub 上最为开发者认可的 JSON 解析类。
示例代码:
1
let
json = JSON(data: dataFromNetworking)
2
if
userName = json[
0
][
"user"
"name"
].string {
3
//Now you got your value
4
}