<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>CortYuming</author_name>
  <author_url>https://blog.hatena.ne.jp/CortYuming/</author_url>
  <blog_title>牌語備忘録 -pygo</blog_title>
  <blog_url>https://cortyuming.hateblo.jp/</blog_url>
  <categories>
    <anon>Javascript</anon>
  </categories>
  <description>前提 コード 前提 空のオブジェクトに object.foo.bar とか object.hoge.fuga.moge とか階層が不特定で値を入れたいみたいな コード const payload = {path: 'come.on.baby.america', value: 'U.S.A'} const segments = payload.path.split('.') let object = {} let segment_path = '' segments.forEach((segment) =&gt; { let i = 0 segment_path = [segment_path, se…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcortyuming.hateblo.jp%2Fentry%2F2018%2F08%2F03%2F192518&quot; title=&quot;Javascriptでオブジェクトの不特定な階層に値を入れるメモ - 牌語備忘録 -pygo&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>2018-08-03 19:25:18</published>
  <title>Javascriptでオブジェクトの不特定な階層に値を入れるメモ</title>
  <type>rich</type>
  <url>https://cortyuming.hateblo.jp/entry/2018/08/03/192518</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
