<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nainaistar</author_name>
  <author_url>https://blog.hatena.ne.jp/nainaistar/</author_url>
  <blog_title>きり丸の技術日記</blog_title>
  <blog_url>https://nainaistar.hatenablog.com/</blog_url>
  <categories>
    <anon>技術</anon>
    <anon>設計</anon>
  </categories>
  <description>REST APIで対象の項目にデータが無い時の表現方法が分からなかったので纏めました。 大きくは2つ、派閥があります。 null undefined データ項目を定義しない null派閥 RFC8259でJSONが定義されています。 JSONの値としては、オブジェクト、配列、数値、文字列、またはfalse, null, trueのいずれかである、と表現されています。 なので、データが存在しない場合はnullを指定するのがあるべきであると思います。 引用 RFC8259を引用。 3. Values A JSON value MUST be an object, array, number, or…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnainaistar.hatenablog.com%2Fentry%2F2021%2F02%2F17%2F120000&quot; title=&quot;REST APIのレスポンス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>https://cdn-ak.f.st-hatena.com/images/fotolife/n/nainaistar/20210216/20210216161538.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-02-17 12:00:00</published>
  <title>REST APIのレスポンスJSONでデータが無い時の表現</title>
  <type>rich</type>
  <url>https://nainaistar.hatenablog.com/entry/2021/02/17/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
