I'm trying to read a JSON file with Python 2.7. To do this, I read line by line and extract the fields that interest me.
But I'm having problems because I get the prefix unicode (u) in some fields.
{u'quote_count': 0, u'contributors': None, u'truncated': False, u'name': u'Pilar Espinosa'}
I have thought about replacing the character u'
with '
with replace but it has given me problems in some chains.
How could I remove it in another way?