python从json提取数据
json
适用于现代 C++ 的 JSON。
项目地址:https://gitcode.com/gh_mirrors/js/json
·
s = json.loads(’{“name”:“test”, “type”:{“name”:“seq”, “parameter”:[“1”, “2”]}}’)
print s
print s.keys()
print s[“name”]
print s[“type”][“name”]
print s[“type”][“parameter”][1]
适用于现代 C++ 的 JSON。
最近提交(Master分支:1 个月前 )
960b763e
4 个月前
8c391e04
7 个月前
更多推荐

所有评论(0)