You are forgetting that JSON puts quotes around the string. You have the following value:
jsonvalue = '"2013-01-24T16:50:42+00:00"'
Note the double quotes there.
You'd need to load that value using the json.loads()
method again, which in this case just removes the quotes again:
>>> print json.loads(jsonvalue)
2013-01-24T16:50:42+00:00
Note that now the quotes are gone again. You could also just strip the quotes with .strip('"')
if you have a mix:
>>> print jsonvalue.strip('"')
2013-01-24T16:50:42+00:00
but since you are expecting JSON data, why not just treat it as json data and use the json
module for this to turn it back to Python data.