<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>reiki4040</author_name>
  <author_url>https://blog.hatena.ne.jp/reiki4040/</author_url>
  <blog_title>年中アイス</blog_title>
  <blog_url>https://reiki4040.hatenablog.com/</blog_url>
  <categories>
    <anon>golang</anon>
    <anon>JSON</anon>
  </categories>
  <description>JSONはデータの表現形式です。表現はできますが、項目があるかや、型が何であるかを検査する仕組みはありません。*1 そのため、システムや実装が分かれている場合に、数値を期待しているが、JSONの表現上、数値か数字かがずれていることが起き得ます。どういうことかというと、&quot;numeric&quot;:1234 (数値)なのか、&quot;numeric&quot;:&quot;1234&quot; (数字)なのかが違う、または不定ということ。仕様の齟齬や、実装ミスなどで発生します。 動的型付け言語の場合、よしなに扱ってくれたりしますが、Goにそれをやられると型エラーが発生してしまいます。GoでJSONを読み込む場合、encoding/jsonパッ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Freiki4040.hatenablog.com%2Fentry%2F2017%2F12%2F08%2F070000&quot; title=&quot;Goで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>2017-12-08 07:00:00</published>
  <title>GoでJSONの数字/数値を扱う</title>
  <type>rich</type>
  <url>https://reiki4040.hatenablog.com/entry/2017/12/08/070000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
