What's the best way to parse JSON in Python? Need help with examples! or Struggling to parse JSON in

18 Replies, 1043 Views

For encoding issues, make sure your file is actually UTF-8. Sometimes it’s UTF-16 or something weird.

`chardet` can help detect the encoding before you parse json in python.

And yeah, nested JSON sucks. I just write helper functions to dig through it layer by layer.

Messages In This Thread



Users browsing this thread: 1 Guest(s)