<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ke_takahashi</author_name>
  <author_url>https://blog.hatena.ne.jp/ke_takahashi/</author_url>
  <blog_title>memorandums</blog_title>
  <blog_url>https://memorandums.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>背景 研究用ツールで途中結果をRubyのHashを文字列化して出力していました．以下のような感じ（１行だけ）． [{&quot;s&quot;=&gt;&quot;b22/fcbbdb25faf312a2e7a720ed878259e39f371be5&quot;, &quot;a&quot;=&gt;&quot;b21/e34c6c9c71e5b6a76bc7efed9d78a681e8817eff&quot;, &quot;v&quot;=&gt;{&quot;d&quot;=&gt;4836, &quot;o&quot;=&gt;1}}] 別のツールでこれを読み込んでHashとして使うのに特別なことはしなくてよいと勘違いしていました．．． 例えば，上の文字列をgets.chompで読み込んで，そのままHash化できると勝手に思っていました．ChatGPT…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemorandums.hatenablog.com%2Fentry%2F2023%2F02%2F04%2F133929&quot; title=&quot;RubyでファイルにHashを出力しておくとあとで戻すときに簡単と思っていた ⇒ 間違い - memorandums&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>2023-02-04 13:39:29</published>
  <title>RubyでファイルにHashを出力しておくとあとで戻すときに簡単と思っていた ⇒ 間違い</title>
  <type>rich</type>
  <url>https://memorandums.hatenablog.com/entry/2023/02/04/133929</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
