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!)
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!)
