I am a beginner. I can't get a json file to load as a string/dict in Python 3.
import json
data = open("Toys_and_Games_5.json", "r")
file = data.read().decode('utf-8')
reviews = json.loads(file)
Error:
AttributeError: 'str' object has no attribute 'decode'

file = data.read()