<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>suzaku0914</author_name>
  <author_url>https://blog.hatena.ne.jp/suzaku0914/</author_url>
  <blog_title>エンターテイメント！！</blog_title>
  <blog_url>https://suzaku-tec.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>事象 jsonをparseして、プロパティの存在チェックにinを利用したときに、表題のCannot use 'in' operator to search for ...というエラー文言が出てきた。 エラーの内容 参考サイトからの引用 JavaScript の例外 &quot;right-hand side of 'in' should be an object&quot; は、 in 演算子が文字列、数値、その他のプリミティブ型の中を検索するために使用された場合に発生します。 つまり、inを利用しようとしたクラスがオブジェクトではなく文字列とか数値になっているらしい。 原因 jsonをparseしたと思っていた…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuzaku-tec.hatenadiary.jp%2Fentry%2F2021%2F07%2F16%2F081247&quot; title=&quot;&amp;quot;Cannot use &amp;#39;in&amp;#39; operator to search for &amp;quot; が出て迷った - エンターテイメント！！&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-07-16 08:12:47</published>
  <title>&quot;Cannot use 'in' operator to search for &quot; が出て迷った</title>
  <type>rich</type>
  <url>https://suzaku-tec.hatenadiary.jp/entry/2021/07/16/081247</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
