I'm trying to store translations of spanish words as json. But the process of converting back and forth between python dictionaries and json strings is messing up my data.
Here's the code:
import json
text={"hablar":"reden"}
print(text) # {'hablar': 'reden'}
data=json.dumps(text)
text=json.loads(data)
print(text) # {u'hablar': u'reden}
Why has the letter "u" been added ?