主要是加载进来,之后就没难度了

import json

path = 'predict2.json'
file = open(path, "rb")
fileJson = json.load(file) # 剩下的就是解析了,都是列表和字典的操作
crop_cells = fileJson["crop_cells"]
... ...

  

相关文章:

  • 2022-02-08
  • 2021-11-06
  • 2021-11-19
  • 2021-11-19
  • 2021-12-08
  • 2021-11-29
  • 2021-08-05
  • 2022-12-23
猜你喜欢
  • 2021-11-19
  • 2022-12-23
  • 2021-06-10
  • 2021-09-13
  • 2021-11-19
  • 2021-08-05
  • 2021-11-21
相关资源
相似解决方案