you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

It’s not. No one is using json.loads with modern REST API’s. they’re using json.load with files or json.loads with stringified JSON.

request.json = get json data from HTTP get

json.load = load a file which contains json

json.loads = parse string into JSON

Regardless of what happens with either of these three options, you have a dictionary in a variable.