{"url":"https://gom.hatenablog.com/entry/2017/06/13/112504","image_url":null,"categories":["ruby"],"blog_title":"gom68\u306e\u65e5\u8a18","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgom.hatenablog.com%2Fentry%2F2017%2F06%2F13%2F112504\" title=\"Ruby 2.4 \u3067 CGI.unescape \u304c\u9ad8\u901f\u5316\u3055\u308c\u3066\u3044\u305f - gom68\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Ruby 2.4 \u3067 CGI.unescape \u304c\u9ad8\u901f\u5316\u3055\u308c\u3066\u3044\u305f","width":"100%","type":"rich","published":"2017-06-13 11:25:04","blog_url":"https://gom.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/gom68/","provider_name":"Hatena Blog","height":"190","author_name":"gom68","description":"\u4e45\u3057\u3076\u308a\u306b ruby \u3092\u3044\u3058\u308b\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u5099\u5fd8\u7684\u306b\u3002 URL encode \u3055\u308c\u305f\u6587\u5b57\u5217\u3092 decode \u3057\u305f\u3044\u306e\u3060\u3051\u3069\u3001Ruby 2.1 \u306e URI.decode \u3060\u3068\u9045\u3059\u304e\u308b\uff01 \u3068\u3044\u3046\u306e\u3092\u306a\u3093\u3068\u304b\u89e3\u6c7a\u3067\u304d\u306a\u3044\u304b\u3068\u8abf\u3079\u3066\u3044\u307e\u3057\u305f\u3002 \u30d9\u30f3\u30c1\u30de\u30fc\u30af\u30b3\u30fc\u30c9 \u4f3c\u305f\u3088\u3046\u306a\u3053\u3068\u3092\u3084\u3063\u3066\u304f\u308c\u308b\u30e1\u30bd\u30c3\u30c9\u304c\u8907\u6570\u3042\u3063\u305f\u306e\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u30d9\u30f3\u30c1\u3068\u3063\u3066\u307f\u308b\u3002 require 'benchmark' require 'uri' require 'cgi' encoded = '%7B%22hoge%22%3A%7B%22foo%22%3A%22bar%22%2C%22hoo%22%3A%22baz%22%7D%7\u2026","version":"1.0","provider_url":"https://hatena.blog"}