Which is more efficient in python, json.loads() or json.load()?

前端 未结 0 2023
挽巷
挽巷 2020-11-28 03:34

In python, is it more efficient to use json.loads() or json.load()? Code examples are given below:

with open("file.json") as f:
    data = json.load         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题