<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>posturan</author_name>
  <author_url>https://blog.hatena.ne.jp/posturan/</author_url>
  <blog_title>Oboe吹きプログラマの黙示録</blog_title>
  <blog_url>https://oboe2uran.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>Json の値に改行、など制御文字 '\t'、'\n'、'\r' 等、0 から 31 までの範囲のコードを 読む時に、 そのまま通常の読み方をすると、 json.decoder.JSONDecodeError: Invalid control character になってしまう。 これを回避するには、json.load を、strict=False で実行する。例） with codecs.open('sample.json', 'r', 'utf-8') as f: dict = json.load(f, strict=False) そもそも、値に改行文字、制御文字コードが入る JSON 規…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foboe2uran.hatenablog.com%2Fentry%2F2020%2F11%2F10%2F230800&quot; title=&quot;Pythonで、Jsonの値に改行が存在する場合に読み込む時の注意 - Oboe吹きプログラマの黙示録&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-10 23:08:00</published>
  <title>Pythonで、Jsonの値に改行が存在する場合に読み込む時の注意</title>
  <type>rich</type>
  <url>https://oboe2uran.hatenablog.com/entry/2020/11/10/230800</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
