S
Sebastjan Trepca
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:
I could use eval() but it's not very fast nor secure.
Thanks, Sebastjan
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