<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>JSON</anon>
  </categories>
  <description>PHPのjson_decodeは値が &quot; (ダブルコーテーションで)囲まれていないと null になるっぽい。 json_decode() でnull になるJSONのパターン 1. &quot; で囲われていない値がある json = {1: &quot;星宮いちご&quot;} &lt;?php json_decode( json ); // =&gt; NULL 2. 値が ' (シングルコーテーション)で囲まれている json = {&quot;1&quot;: '&lt;b class=&quot;idol&quot;&gt;星宮いちご&lt;/b&gt;'} &lt;?php json_decode( json ); // =&gt; NULL ` ←コレもダメ json = {&quot;1&quot;: `星宮い…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2017%2F07%2F01%2F080000&quot; title=&quot;PHP json_decode がnullになるにハマる - かもメモ&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://images-fe.ssl-images-amazon.com/images/I/31u3c5dIf0L._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-07-01 08:00:00</published>
  <title>PHP json_decode がnullになるにハマる</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2017/07/01/080000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
