<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kohkimakimoto</author_name>
  <author_url>https://blog.hatena.ne.jp/kohkimakimoto/</author_url>
  <blog_title>オープンソースこねこね</blog_title>
  <blog_url>https://kohkimakimoto.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>PHPの標準のjson関数だと日本語部分がunicodeエスケープされてしまい、「\u65e5\u672c\u8a9e」とか、ぱっと見よくわからん文字列になってしまうので、ちょっとデバッグがし難かったりします。JSONの仕様上では日本語そのままより、このようにエスケープされたほうが正しいようだけど。 PHPのマニュアルを読むとPHP5.4からはオプションにJSON_UNESCAPED_UNICODEを指定するとエスケープしないようなのですが、yumインストールに5.4が対応していなかったりで、ちょっと自分の環境では使えないのでUnicodeエスケープしないラッパー関数を書きました。 参考にさせ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkohkimakimoto.hatenablog.com%2Fentry%2F2012%2F05%2F17%2F180738&quot; title=&quot;PHPでUnicodeアンエスケープしたJSONを出力する関数 - オープンソースこねこね&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>2012-05-17 18:07:38</published>
  <title>PHPでUnicodeアンエスケープしたJSONを出力する関数</title>
  <type>rich</type>
  <url>https://kohkimakimoto.hatenablog.com/entry/2012/05/17/180738</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
