Pumplerod, json module is about pure Python.
So, try this in your Python shell, to you see how json module works:
>>> import json
>>> s = json.dumps(dict(nome='john', age=25)) # this line converts a dictionary to a string
>>> print s, type(s)
{"age": 25, "nome": "john"}, <type 'str'>
>>> d = json.loads(s)
>>> print d, type(d)
{u'age': 25, u'nome': u'john'} <type 'dict'>
>>>
Basically, it is.
Probably, you're trying to import a string and you need to convert it
to json, right? This tiny example may help you.
--
Vinicius Assef
> --
>
>
>