I am using python 3.9
I get this error:
json.decoder.JSONDecodeError: Expecting value: line 1 column 2 (char 1)
when I trying to do:
import json
print(json.loads("['product', 'font', 'graphics', 'photo caption', 'brand', 'advertising', 'technology', 'text', 'graphic design', 'competition']"))
But it works fine when I did:
print(json.loads('["a", "b", "c"]'))
It seems the error is associated with the quotation mark. But may I ask why is that? Thank you!