在vfp中使用JSON,by木瓜
*解析测试
obj=CreateObject("foxJson")
obj.Parse('{"name":"lee","age":32, "childs":[{"name":"xiao ming","age":2},{"name":"baobao","age":5}]}')
?obj.item("name").value
?obj.item("age").value
?obj.item("childs").count
?obj.item("childs").item(1).item("name").value
?obj.item("childs").item(1).item("age").value
?obj.item("childs&quo;
2021-07-23 18:39:58
33KB
vfp
1