需要解析以下 JSON,但不知道如何使用 D2007 和 uJSON 进行解析,有人可以向我展示如何访问这些值的示例吗?
{
"id": "40",
"created_at": "2013-08-02 20:50:28",
"delivery_at": "2013-08-02 20:50:28",
"cid": "7",
"firstname": "Joe",
"lastname": "Average",
"street": "Joes Place",
"items": [
{
"id": 601,
"price": 25,
"name": "Pizza Party 40x60 cm",
"qty": 1,
"opt": 8,
"extras": [
[
"Salmon",
0
],
[
"Spinach",
1.5
],
]
}
],
"eMail": "me@examble.com"
}
提前致谢!
编辑:更正了错误的 json (可能不是完全错误,但不是故意的)