Hi,

is there any library or some way to parse dictionary string with list,
string and int objects into a real Python dictionary?

For example:

>>> my_dict = dict_parser("{'test':'123','hehe':['hooray',1]}")

I could use eval() but it's not very fast nor secure.

Thanks, Sebastjan
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to