{"blog_title":"HTN20190109\u306e\u65e5\u8a18","image_url":null,"author_name":"HTN20190109","url":"https://htn20190109.hatenablog.com/entry/2023/10/01/211320","author_url":"https://blog.hatena.ne.jp/HTN20190109/","height":"190","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtn20190109.hatenablog.com%2Fentry%2F2023%2F10%2F01%2F211320\" title=\"{Python}JSON\u30d5\u30a1\u30a4\u30eb\u8aad\u8fbc - HTN20190109\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Python"],"type":"rich","published":"2023-10-01 21:13:20","title":"{Python}JSON\u30d5\u30a1\u30a4\u30eb\u8aad\u8fbc","width":"100%","blog_url":"https://htn20190109.hatenablog.com/","description":"import json with open('a.json', 'w', encoding='utf-8', newline='') as f: f.write('[\\n') f.write(' {\\n') f.write(' \"instanceid\": \"i-22222222222222222\",\\n') f.write(' \"Tags\": \"work2\"\\n') f.write(' },\\n') f.write(' {\\n') f.write(' \"instanceid\": \"i-33333333333333333\",\\n') f.write(' \"Tags\": \"work3\"\\n') f\u2026","version":"1.0"}