<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>uupaa</author_name>
  <author_url>https://blog.hatena.ne.jp/uupaa/</author_url>
  <blog_title>latest log</blog_title>
  <blog_url>https://uupaa.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>JSON.parse があまりにも眼鏡委員長なので、JSON.parse でエラーが出たら黒ギャル eval(&quot;(&quot; + … + &quot;)&quot;) で試す的なコードいれたらストレス減ったvia https://twitter.com/uupaa/status/294711990000168960 あ、さっきのJSONスタイルで書く設定ファイルのバリデーションの事ね。ユーザが設定ファイルにありがちなコメント( /* */ や // )いれてたり、 ハッシュの末尾のカンマ消し忘れてるだけでエラーで弾くのは忍びないので、 eval で jsとして評価して正しければOKでしょとvia https://twit…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuupaa.hatenablog.com%2Fentry%2F2013%2F01%2F25%2F170531&quot; title=&quot;JSONを設定ファイル代わりに使う場合は JSON.parse → だめなら → eval のように二段階で評価するといいんじゃないかな - latest log&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>2013-01-25 17:05:31</published>
  <title>JSONを設定ファイル代わりに使う場合は JSON.parse → だめなら → eval のように二段階で評価するといいんじゃないかな</title>
  <type>rich</type>
  <url>https://uupaa.hatenablog.com/entry/2013/01/25/170531</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
