<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a1026302</author_name>
  <author_url>https://blog.hatena.ne.jp/a1026302/</author_url>
  <blog_title>ものづくりのブログ</blog_title>
  <blog_url>https://a1026302.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Python-ライブラリ</anon>
  </categories>
  <description>python の json ライブラリを使っていて、json.dumps() で日本語が &quot;\uXXXXXXXXXXXX&quot; となるときの対処法をここにメモします。デフォルトでは、json.dump や json.dumps を使用すると、Unicode文字列はエンコードされてしまいますが、「enseure_ascii = false」の指定の有無で、Unicode エスケープあり・なしの日本語が出力されます。 ensure_ascii ensure_ascii=True or 指定なし $ python Python 3.11.3 (main, Apr 17 2023, 18:50:53) […</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa1026302.hatenablog.com%2Fentry%2F2023%2F09%2F04%2F144329&quot; title=&quot;【Python】json.dumps()で Unicode で表示される文字列を読めるようにする方法 - ものづくりのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.user.blog.st-hatena.com/default_entry_og_image/157314735/1599576939808917</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-09-04 14:43:29</published>
  <title>【Python】json.dumps()で Unicode で表示される文字列を読めるようにする方法</title>
  <type>rich</type>
  <url>https://a1026302.hatenablog.com/entry/2023/09/04/144329</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
