def jsonfy(s:str)->object:
obj = eval(s, type('js', (dict,), dict(__getitem__=lambda s, n: n))())
return obj
def jsonfy(s:str)->object:
obj = eval(s, type('js', (dict,), dict(__getitem__=lambda s, n: n))())
return obj
转载于:https://www.cnblogs.com/mahailuo/p/11286803.html