<?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>
    <anon>JavaScript</anon>
    <anon>npm</anon>
    <anon>プログラミング</anon>
    <anon>日記</anon>
  </categories>
  <description>背景 JSでデバックのためにJSON.stringify()を使ったら発生した。 printデバックの是非は置いておいて、この事象の意味と、なぜ発症したのか、対象方法についてメモする。 意味 「循環参照しているJSONを変換しようとしている」って意味らしい。 Google翻訳より。。。 意味は分かった。 循環参照しているオブジェクトを渡したつもりはないのだが、循環参照構造になっているらしい。。。 対処方法 回避方法はあるみたいだが、面倒くさいから、npmモジュールのjson-cyclic入れて対応する。 下記の記述で対応可能。 JSON.stringify(decycle(XXXX)) 対応し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuzaku-tec.hatenadiary.jp%2Fentry%2F2021%2F06%2F20%2F121351&quot; title=&quot;`TypeError: Converting circular structure to 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>2021-06-20 12:13:51</published>
  <title>`TypeError: Converting circular structure to JSON`の意味と対処</title>
  <type>rich</type>
  <url>https://suzaku-tec.hatenadiary.jp/entry/2021/06/20/121351</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
