<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yshrfmru</author_name>
  <author_url>https://blog.hatena.ne.jp/yshrfmru/</author_url>
  <blog_title>Fumiro Yoshihara’s Blog</blog_title>
  <blog_url>https://yshrfmru.hatenablog.com/</blog_url>
  <categories>
    <anon>laravel</anon>
  </categories>
  <description>レスポンスをjsonで返すapiを別のアクションで呼んでその結果に対して配列処理をかけたい場合。 参考 laravel.com そのapiが下記のようにレスポンスを返す場合はIlluminate\Http\JsonResponseインスタンスが結果として返されている。 return response()-&gt;json( $result_data ); これはjsonではないのでjson_decodeをかけるとnullが帰る(json_decodeはjsonとして正しい形式でないデータを引数に渡すとnullを返す)。Illuminate\Http\JsonResponseインスタンスからjson形…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyshrfmru.hatenablog.com%2Fentry%2F2019%2F04%2F14%2F124807&quot; title=&quot;Illuminate\Http\JsonResponseインスタンスからjsonを取り出す - Fumiro Yoshihara’s Blog&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>2019-04-14 12:48:07</published>
  <title>Illuminate\Http\JsonResponseインスタンスからjsonを取り出す</title>
  <type>rich</type>
  <url>https://yshrfmru.hatenablog.com/entry/2019/04/14/124807</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
