<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>end0tknr</author_name>
  <author_url>https://blog.hatena.ne.jp/end0tknr/</author_url>
  <blog_title>end0tknr's kipple - web写経開発</blog_title>
  <blog_url>https://end0tknr.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>サーバからjsonを受け取った javascript が、 数値(例:2)を期待し厳密等価演算子 (===)でvalidateしたところ、 文字列(例:&quot;2&quot;)だった為、false となったことがきっかけです。 perl製サーバアプリとしては、$val += 0 により、数値化( numfy )しましたが、 数値と文字列を区別なく扱えるperlで、JSON.pm は、 どのようにして、文字列(string) or 数値(numeric, integer)の判別しているのでしょう? JSON for perl は、文字列 or 数値を判別し、json化 #!/usr/local/bin/perl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fend0tknr.hateblo.jp%2Fentry%2F20160730%2F1469837912&quot; title=&quot;JSON for perl ? における 文字列(string) or 数値(numeric, integer)の判別方法 - end0tknr&amp;#39;s kipple - web写経開発&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>2016-07-30 09:18:32</published>
  <title>JSON for perl ? における 文字列(string) or 数値(numeric, integer)の判別方法</title>
  <type>rich</type>
  <url>https://end0tknr.hateblo.jp/entry/20160730/1469837912</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
