<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>machinemxy</author_name>
  <author_url>https://blog.hatena.ne.jp/machinemxy/</author_url>
  <blog_title>セシルのIT備忘録</blog_title>
  <blog_url>https://cecil-it.hatenadiary.com/</blog_url>
  <categories>
    <anon>Swift</anon>
  </categories>
  <description>extension Bundle { func load&lt;T: Codable&gt;(from fileName: String) -&gt; T? { guard let url = url(forResource: fileName, withExtension: &quot;json&quot;) else { return nil } guard let data = try? Data(contentsOf: url) else { print(&quot;File \(fileName) does not exist.&quot;) return nil } let decoder = JSONDecoder() guard le…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcecil-it.hatenadiary.com%2Fentry%2F2021%2F08%2F30%2F234445&quot; title=&quot;実用的なBundle Extension for Jsonファイルロード - セシルのIT備忘録&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>2021-08-30 23:44:45</published>
  <title>実用的なBundle Extension for Jsonファイルロード</title>
  <type>rich</type>
  <url>https://cecil-it.hatenadiary.com/entry/2021/08/30/234445</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
