How to properly json read json file in Python? or What's the best way to json read json file without

18 Replies, 1468 Views

Trailing commas in JSON? Nope nope nope. Python’s `json` module hates those.

When you json read json file, make sure it’s *strict* JSON. Use VS Code’s JSON validator or something similar to spot issues.

Also, if the file’s from an API, maybe it’s sending garbage? Check the response headers for encoding hints.

Messages In This Thread



Users browsing this thread: 1 Guest(s)