Home Posts Topics Members FAQ
Post your question to a community of 470,849 developers. It's quick & easy.
s = '{"a":1}' d = eval(s) d
Is there a simple way to build a dictionary from a string without using eval()? s = '{"a":1}' d = eval(s) d {'a': 1} Regards, Clodoaldo Pinto
Replies have been disabled for this discussion.