conver string to dictionary
mahdieh saeed
maheh_saied at yahoo.com
Sun Feb 18 01:44:47 EST 2007
Hi
I want to convert string to dictionary .what is the best solution for this ?
for example string is like this:
'{"SalutationID":["primarykey",8388607,0,None],"CompanyID":[0,8388607,0,"index"],
"SalutationName":["",255,0,None],"isDefault":["tinyint",1,1,None]}'
and I want to convert this string to this dictionary:
{"SalutationID":["primarykey",8388607,0,None],"CompanyID":[0,8388607,0,"index"],
"SalutationName":["",255,0,None],"isDefault":["tinyint",1,1,None]}
please help me what is the best solution(faster solution) for this?
thanks
regards
saeed
---------------------------------
8:00? 8:25? 8:40? Find a flick in no time
with theYahoo! Search movie showtime shortcut.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070217/026e49c3/attachment.html>
More information about the Python-list
mailing list