{"published":"2016-07-14 21:31:40","title":"<Python, json> json.loads \u3067\u6587\u5b57\u306e\u30ea\u30b9\u30c8\u3092\u8aad\u307f\u8fbc\u3080\u5834\u5408\u3001\u3001\u3001","description":"\u6587\u5b57\u5217\u5316str\u3057\u3066\u3044\u308b\u30ea\u30b9\u30c8list\u3067\u3001 \u30ea\u30b9\u30c8\u306e\u4e2d\u8eab\u304c\u6587\u5b57\u306e\u3082\u306e\u3092\u3001 json.loads\u3059\u308b\u5834\u5408\u3002 \u4f8b\u3002 In [126]: a = \"['a','b']\" In [127]: json.loads(a) --------------------------------------------------------------------------- : JSONDecodeError: Expecting value: line 1 column 2 (char 1) \u30b2\u30ed\u3002\u3002\u3002 \u3067\u3082\u3001\u3001 In [128]: a = '[\"a\",\"b\"]' In [129]: json.loads(\u2026","author_name":"nekoyukimmm","width":"100%","url":"https://nekoyukimmm.hatenablog.com/entry/2016/07/14/213140","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekoyukimmm.hatenablog.com%2Fentry%2F2016%2F07%2F14%2F213140\" title=\"&lt;Python, json&gt; json.loads \u3067\u6587\u5b57\u306e\u30ea\u30b9\u30c8\u3092\u8aad\u307f\u8fbc\u3080\u5834\u5408\u3001\u3001\u3001 - \u306d\u3053\u3086\u304d\u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","type":"rich","blog_title":"\u306d\u3053\u3086\u304d\u306e\u30e1\u30e2","height":"190","author_url":"https://blog.hatena.ne.jp/nekoyukimmm/","categories":["Python","Json"],"blog_url":"https://nekoyukimmm.hatenablog.com/","image_url":null,"provider_name":"Hatena Blog"}