How to put JSON data into a dictionary Python – what's the best way? or Struggling with how to put JS

14 Replies, 1295 Views

wow, thanks everyone! didn’t realize the difference between loads() and load() was just strings vs files.

tried the with open() method and it worked perfectly.

one more thing tho – what if the json is from an api response? do i still use loads()?

(also, jsonlint.com is a lifesaver, ty for that!)

Messages In This Thread



Users browsing this thread: 1 Guest(s)