{"author_name":"nekoyukimmm","title":"<Python, json> \u30c0\u30f3\u30d7\u3068\u30ed\u30fc\u30c9","blog_title":"\u306d\u3053\u3086\u304d\u306e\u30e1\u30e2","height":"190","categories":["Json","Python"],"version":"1.0","type":"rich","author_url":"https://blog.hatena.ne.jp/nekoyukimmm/","provider_url":"https://hatena.blog","published":"2016-06-16 16:22:46","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekoyukimmm.hatenablog.com%2Fentry%2F2016%2F06%2F16%2F162246\" title=\"&lt;Python, json&gt; \u30c0\u30f3\u30d7\u3068\u30ed\u30fc\u30c9 - \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_name":"Hatena Blog","description":"json\u306e\u30c0\u30f3\u30d7dumps\u3068\u30ed\u30fc\u30c9loads\u3002 Flask\u3055\u3093\u3067\u3001\u30af\u30c3\u30ad\u30fccookie\u3092\u3059\u308b\u6642\u3001 \u5fc5\u8981\u306a\u30c7\u30a3\u30af\u30b7\u30e7\u30ca\u30eadictionary\u3092\u3069\u3046\u3084\u3063\u3066\u6e21\u3059\u3082\u3093\u304b\u3068\u60a9\u3093\u3067\u305f\u6642\u306b\u3001 \u3053\u308c\u3092\u4f7f\u3048\u3070\u3044\u3044\u3093\u3058\u3083\u30fc\u3093\u3068\u3002\u3002 \u307e\u305a\u306fjson\u5316\uff08\u30c0\u30f3\u30d7\uff09 In [35]: import json In [36]: dict = {'a':'hage', 'b':'hige', 'c':('taro', 'jiro')} In [37]: type(dict) Out[37]: dict In [38]: j = json.dumps(dict) In [39]: j Out[39]: '{\"b\": \"hige\u2026","blog_url":"https://nekoyukimmm.hatenablog.com/","width":"100%","url":"https://nekoyukimmm.hatenablog.com/entry/2016/06/16/162246","image_url":null}