I want to extract specific data from String of list of dictionaries but unable to do
I have performed json.loads operation but still getting error
import json
data =json.loads("[{'id': 35, 'name': 'Comedy'}]")
Traceback (most recent call last)
JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 3 (char 2)