Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 235 Bytes

convert_unicode_object_to_python_dict.md

File metadata and controls

8 lines (6 loc) · 235 Bytes

Convert Unicode Object to Python Dict

import ast

ast.literal_eval(u"{u'city': u'new-york', u'name': u'Home', u'display_value': u'2 Main Street'}")
{u'city': u'new-york', u'name': u'Home', u'display_value': u'2 Main Street'}