If you’re struggling with json to dict in function python, maybe the issue isn’t your code but the JSON itself.
Try pasting your JSON into [JSON Formatter](https://jsonformatter.curiousconcept.com/) to see if it’s valid.
Also, `print(type(json_str))` to confirm it’s a string.
Try pasting your JSON into [JSON Formatter](https://jsonformatter.curiousconcept.com/) to see if it’s valid.
Also, `print(type(json_str))` to confirm it’s a string.
