If you’re still stuck, share the error message!
But common pitfalls:
- File permissions (can’t read it)
- Malformed JSON (missing quotes, etc.)
- Wrong path (relative vs. absolute)
Your method to python read json file into dict is correct, so it’s likely the data or environment.
But common pitfalls:
- File permissions (can’t read it)
- Malformed JSON (missing quotes, etc.)
- Wrong path (relative vs. absolute)
Your method to python read json file into dict is correct, so it’s likely the data or environment.
