I need to parse a json with top level array but I am getting following error. I can remove the top level [] but I guess there should be an easy way I am missing.
File contents:
[{"name": "Bob", "languages": ["English", "Fench"]}]
Error:
AttributeError: 'list' object has no attribute 'json'
Code:
data = json.load(json_file)
links = data.json()