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

14 Replies, 1353 Views

"Struggling with how to put json data into a dictionary python – any tips?"

hey guys, i’m kinda new to this and trying to figure out how to put json data into a dictionary python.

i’ve seen a few ways, like using `json.loads()`, but is that the best method? or am i missing something simpler?

also, what if the json is from a file? do i need to open it first or can i just load it directly?

any help would be awesome, thanks!

(ps. if u have example code, even better lol)

Messages In This Thread
How to put JSON data into a dictionary Python – what's the best way? or Struggling with how to put JS - by - 14-01-2025, 07:29 PM



Users browsing this thread: 1 Guest(s)