{"width":"100%","type":"rich","author_url":"https://blog.hatena.ne.jp/shigemk2/","provider_url":"https://hatena.blog","categories":["Python"],"version":"1.0","blog_url":"https://www.shigemk2.com/","image_url":null,"title":"ast.literal_eval","height":"190","blog_title":"by shigemk2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2019%2F01%2F16%2F210246\" title=\"ast.literal_eval - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","url":"https://www.shigemk2.com/entry/2019/01/16/210246","author_name":"shigemk2","description":"dict\u306astring\u3092\u30d1\u30fc\u30b9\u3057\u3066\u672c\u7269\u306edict\u306b\u3059\u308b\u3084\u3064\u3002 >>> import ast >>> ym = ast.literal_eval(\"{'year' : 2018, 'month' : 12}\") >>> type(ym) <type 'dict'> ast \u2014 Abstract Syntax Trees \u2014 Python 3.7.2 documentation","published":"2019-01-16 21:02:46"}