>>> import ast >>> aar='{"ab":1,"ac":2,"ad":3}' >>> aaxx=ast.literal_eval(aar) >>> aaxx {'ab': 1, 'ac': 2, 'ad': 3} >>>
>>> aar='{"ab":1,"ac":2,"ad":3}' >>> aayy=eval(aar) >>> aayy {'ab': 1, 'ac': 2, 'ad': 3} >>>