{"id":174,"date":"2010-12-18T22:05:33","date_gmt":"2010-12-19T05:05:33","guid":{"rendered":"http:\/\/www.ktrick.com\/?p=174"},"modified":"2010-12-18T22:05:33","modified_gmt":"2010-12-19T05:05:33","slug":"cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99","status":"publish","type":"post","link":"https:\/\/www.ktrick.com\/en\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/","title":{"rendered":"[CakePHP] JSON\u51fa\u529b\u6642\u306bstring\u578b\u3092int\u578b\u306b\u623b\u3059"},"content":{"rendered":"<p>\u4e45\u3005\u306e\u30d6\u30ed\u30b0\u3001\u4eca\u56de\u306fCakePHP\u3067JSON\u51fa\u529b\u3092\u3059\u308b\u3068\u304d\u306bInteger\u578b\u3001String\u578b\u306b\u578b\u5909\u63db\u3057\u3066\u51fa\u529b\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u66f8\u304d\u307e\u3059\u3002 \uff08\u3042\u3001\u4eca\u56de\u3082\u4ed6\u529b\u672c\u9858\u3001\u6e80\u8f09\uff09<\/p>\n<p>\u307e\u305a\u3001CakePHP\u3067JSON\u51fa\u529b\u3092\u3059\u308b\u70ba\u306b\u306f<\/p>\n<p>Controller\u3067<\/p>\n<pre class=\"brush:php\">$yourJsonObect= $this-&gt;YourModel-&gt;find('all');\n$this-&gt;set('yourJsonObect', $yourJsonObect);<\/pre>\n<p>\u3068\u3057\u3066\u3084\u308a<\/p>\n<p>View\u3067<\/p>\n<pre class=\"brush:php\">&lt;?php echo $javascript-&gt;object($yourJsonObect); ?&gt;<\/pre>\n<p>\u3068\u3057\u3066\u3084\u308c\u3070\u7c21\u5358\u306b\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u51fa\u529b\u3055\u308c\u308b\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush:js\">[{\"YourModel\":{\"id\":\"10060\",\"foreign_id\":\"1\",\"short_description\":\"Short Desc Test.\",\"long_description\":\"Long Desc Test\"},\n{}\n.....\n)]<\/pre>\n<p>\u3053\u308c\u3067\u3001\u6b86\u3069\u5834\u5408\u306f\u554f\u984c\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u4e0a\u3067Integer\u3067\u6301\u3063\u3066\u3044\u308b\u30b9\u30ad\u30fc\u30de\uff08id, foreign_id\u306a\u3069\uff09\u3082\u5168\u3066String\u578b\u3068\u3057\u3066\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3082\u3057\u3001JSON\u30c7\u30fc\u30bf\u3092\u53d7\u3051\u53d6\u308b\u5074\u304c\u53b3\u5bc6\u306bInteger\u578b\u3001String\u578b\u3092\u533a\u5225\u3057\u3066\u53d7\u3051\u53d6\u308a\u305f\u3044\u5834\u5408\u306a\u3069\u306b\u4ee5\u4e0b\u306e\u65b9\u6cd5\u3067\u30b9\u30de\u30fc\u30c8\u306b\u89e3\u6c7a\u3067\u304d\u305f\u306e\u3067\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f59\u8ac7\u3067\u3059\u304c\u3001\u81ea\u5206\u306e\u5834\u5408\u306f\u3001iPhone\u958b\u767a\u306b\u304a\u3044\u3066\u3001JSON\u30c7\u30fc\u30bf\u3092\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u53d7\u3051\u53d6\u308a\u3001Core Data\u306bInsert\u3059\u308b\u6642\u306b\u3001iPhone\u5074\u3067\u578b\u30c1\u30a7\u30c3\u30af\u3084\u578b\u5909\u63db\u3092\u3055\u305b\u305f\u304f\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u5438\u53ce\u3057\u3066\u3057\u307e\u304a\u3046\u3068\u3044\u3046\u7d4c\u7def\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u53c2\u8003\u306b\u3057\u305f\u30b5\u30a4\u30c8\u306f\u3053\u3061\u3089\u3067\u3059\u3002<\/p>\n<blockquote><p>CakePHP\u306emodel\u306e\u7d50\u679c\u914d\u5217\u3067string\u578b\u3092int\u578b\u306b\u623b\u3059\u3002<\/p>\n<p>CakePHP\u3067model::find\u306a\u3069\u306e\u95a2\u6570\u3067\u7d50\u679c\u914d\u5217\u3092\u53d6\u5f97\u3057\u305f\u3068\u304d\u306b\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u306fint\u578b\u306e\u5024\uff53\uff54\uff52\uff49\uff4e\uff47\u578b\u3068\u3057\u3066\u8fd4\u3063\u3066\u6765\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001flash\u306bjson\u51fa\u529b\u3067\u30c7\u30fc\u30bf\u3092\u6e21\u3057\u305f\u304b\u3063\u305f\u306e\u3067\u3001\u5225\u306b\u6587\u5b57\u5217\u578b\u306e\u307e\u307e\u6e21\u3057\u3066\u3082\u554f\u984c\u306a\u3044\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3051\u3069\u3001\u306a\u3093\u304b\u6c17\u6301\u3061\u60aa\u3044\u3002<\/p>\n<p>\u305d\u308c\u306b\u4f8b\u3048\u3070\u3088\u304f\u3042\u308b\u3001int\u306e0,1\u3092\u30d5\u30e9\u30b0\u3068\u6271\u3063\u3066 if (flag) {&#8230;. }\u306a\u3093\u3066\u66f8\u3044\u305f\u3089\u30de\u30ba\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u601d\u3046\u306e\u3067\u3001settype\u3067\u578b\u5909\u63db\u3092\u884c\u3046\u65b9\u6cd5\u3002<\/p>\n<p>\u5f15\u7528\u5143: <a href=\"http:\/\/roany.cocolog-nifty.com\/diary\/2010\/05\/cakephpmodelstr.html\">CakePHP\u306emodel\u306e\u7d50\u679c\u914d\u5217\u3067string\u578b\u3092int\u578b\u306b\u623b\u3059\u3002: \u308d\u30fc\u306b\u30fc\u306e\u65e5\u8a18<\/a>.<\/p><\/blockquote>\n<p>\u30e2\u30c7\u30eb\u306e\u89aa\u30af\u30e9\u30b9\u3067\u3001Find\u3067\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u5168\u3066String\uff09\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306eType\u3092\u53c2\u7167\u3057\u3066\u3001\u578b\u5909\u63db\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>app_model.php\u306bafterFind\uff08\uff09\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u95a2\u6570\u3092\u8ffd\u52a0\u3057\u3066\u3084\u308b\u3060\u3051\u3002<\/p>\n<pre class=\"brush:php\">class AppModel extends Model{\n\tpublic function afterFind($results, $primary = false) {\n\t\tparent::afterFind($results, $primary);\n\t\t$columnTypes = $this-&gt;getColumnTypes();\n\t\tforeach($results as $index =&gt; $result) {\n\t\t\tforeach($columnTypes as $field =&gt; $columnType) {\n\t\t\t\tif($columnType == 'integer') {\n\t\t\t\t\tif(isset($results[$index][$this-&gt;name][$field])) {\n\t\t\t\t\t\tsettype($results[$index][$this-&gt;name][$field], 'integer');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn $results;\n\t}\n}<\/pre>\n<p>\u3053\u308c\u3067\u5168\u3066\u306e\u30e2\u30c7\u30eb\u304c\u81ea\u52d5\u5909\u63db\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002   \u611f\u6fc0\uff5e<\/p>\n<p>\u5909\u63db\u5f8c\u306eJSON\u51fa\u529b\u3092\u898b\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush:js\">[{\"YourModel\":{\"id\":10060,\"foreign_id\":1,\"short_description\":\"Short Desc Test.\",\"long_description\":\"Long Desc Test\"},\n{}\n.....\n)]<\/pre>\n<p>Integer\u578b\u306e\u6570\u5b57\u306e\u90e8\u5206\u304b\u3089\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u304c\u6d88\u3048\u307e\u3057\u305f\u3002<\/p>\n<p>\u3081\u3067\u305f\u3057\u3081\u3067\u305f\u3057\u3002<\/p>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;\">http:\/\/app.cocolog-nifty.com\/t\/trackback\/120702\/48427427<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4e45\u3005\u306e\u30d6\u30ed\u30b0\u3001\u4eca\u56de\u306fCakePHP\u3067JS [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,15,17],"tags":[86,88],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[CakePHP] JSON\u51fa\u529b\u6642\u306bstring\u578b\u3092int\u578b\u306b\u623b\u3059 | XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ktrick.com\/cakephp-json\u51fa\u529b\u6642\u306bstring\u578b\u3092int\u578b\u306b\u623b\u3059\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[CakePHP] JSON\u51fa\u529b\u6642\u306bstring\u578b\u3092int\u578b\u306b\u623b\u3059 | XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\" \/>\n<meta property=\"og:description\" content=\"\u4e45\u3005\u306e\u30d6\u30ed\u30b0\u3001\u4eca\u56de\u306fCakePHP\u3067JS [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ktrick.com\/cakephp-json\u51fa\u529b\u6642\u306bstring\u578b\u3092int\u578b\u306b\u623b\u3059\/\" \/>\n<meta property=\"og:site_name\" content=\"XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ktrickLLC\" \/>\n<meta property=\"article:published_time\" content=\"2010-12-19T05:05:33+00:00\" \/>\n<meta name=\"author\" content=\"Tatsuki Kazunori\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@KtrickL\" \/>\n<meta name=\"twitter:site\" content=\"@KtrickL\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tatsuki Kazunori\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/\"},\"author\":{\"name\":\"Tatsuki Kazunori\",\"@id\":\"https:\/\/www.ktrick.com\/#\/schema\/person\/b25791ee2e6e62d083128a2d8d723b54\"},\"headline\":\"[CakePHP] JSON\u51fa\u529b\u6642\u306bstring\u578b\u3092int\u578b\u306b\u623b\u3059\",\"datePublished\":\"2010-12-19T05:05:33+00:00\",\"dateModified\":\"2010-12-19T05:05:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/\"},\"wordCount\":59,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.ktrick.com\/#organization\"},\"keywords\":[\"CakePHP\",\"JSON\"],\"articleSection\":[\"JSON\",\"CakePHP\",\"iPhone\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/\",\"url\":\"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/\",\"name\":\"[CakePHP] JSON\u51fa\u529b\u6642\u306bstring\u578b\u3092int\u578b\u306b\u623b\u3059 | XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\",\"isPartOf\":{\"@id\":\"https:\/\/www.ktrick.com\/#website\"},\"datePublished\":\"2010-12-19T05:05:33+00:00\",\"dateModified\":\"2010-12-19T05:05:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/www.ktrick.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[CakePHP] JSON\u51fa\u529b\u6642\u306bstring\u578b\u3092int\u578b\u306b\u623b\u3059\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ktrick.com\/#website\",\"url\":\"https:\/\/www.ktrick.com\/\",\"name\":\"XPages\u3001HCL Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\",\"description\":\"HCL Notes\/Domino\u306e\u4fdd\u5b88\u3001\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u304b\u3089\u30a2\u30d7\u30ea\u958b\u767a\u3001\u30af\u30e9\u30a6\u30c9\u904b\u7528\u307e\u3067\u5168\u3066\u3092\u30b5\u30dd\u30fc\u30c8\",\"publisher\":{\"@id\":\"https:\/\/www.ktrick.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.ktrick.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.ktrick.com\/#organization\",\"name\":\"\u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\",\"url\":\"https:\/\/www.ktrick.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ktrick.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2019\/09\/KTRICK_300x300.png\",\"contentUrl\":\"https:\/\/www.ktrick.com\/wp-content\/uploads\/2019\/09\/KTRICK_300x300.png\",\"width\":300,\"height\":300,\"caption\":\"\u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\"},\"image\":{\"@id\":\"https:\/\/www.ktrick.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ktrickLLC\",\"https:\/\/twitter.com\/KtrickL\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.ktrick.com\/#\/schema\/person\/b25791ee2e6e62d083128a2d8d723b54\",\"name\":\"Tatsuki Kazunori\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ktrick.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9638cc5f66ac38d785f171da94301196?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9638cc5f66ac38d785f171da94301196?s=96&d=mm&r=g\",\"caption\":\"Tatsuki Kazunori\"},\"description\":\"\u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e CEO &amp; CTO\u3092\u3057\u3066\u3044\u307e\u3059\u3002 Notes\/Domino\u306e\u958b\u767a\u3092\u5f97\u610f\u3068\u3057\u307e\u3059\u304c\u3001 C++ \/ Java \/ PHP \/ Javascript \u306a\u3069\u306e\u8a00\u8a9e\u3092\u4f7f\u3063\u3066WEB\u30a2\u30d7\u30ea\u3001iPhone \/ Android \u30a2\u30d7\u30ea\u958b\u767a\u306a\u3069\u3092\u3057\u305f\u308a\u3057\u307e\u3059\u3002 XPages\u306e\u4ed5\u4e8b\u3092\u3057\u3066\u3044\u308b\u3068\u30c6\u30f3\u30b7\u30e7\u30f3\u304c\u901a\u5e38\u306e1.25\u500d\u3050\u3089\u3044\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002 I am owner of KTrick Co., Ltd. and Notes\/Domino developer. HCL Ambassador (IBM Champion for 2015 - current). I am interested in web application development and preferred languages are Notes\/Domino, C++ \/ Java \/ PHP \/ Javascript.\",\"sameAs\":[\"http:\/\/www.ktrick.com\/wp\"],\"url\":\"https:\/\/www.ktrick.com\/en\/author\/ktatsuki\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[CakePHP] JSON\u51fa\u529b\u6642\u306bstring\u578b\u3092int\u578b\u306b\u623b\u3059 | XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ktrick.com\/cakephp-json\u51fa\u529b\u6642\u306bstring\u578b\u3092int\u578b\u306b\u623b\u3059\/","og_locale":"en_US","og_type":"article","og_title":"[CakePHP] JSON\u51fa\u529b\u6642\u306bstring\u578b\u3092int\u578b\u306b\u623b\u3059 | XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","og_description":"\u4e45\u3005\u306e\u30d6\u30ed\u30b0\u3001\u4eca\u56de\u306fCakePHP\u3067JS [&hellip;]","og_url":"https:\/\/www.ktrick.com\/cakephp-json\u51fa\u529b\u6642\u306bstring\u578b\u3092int\u578b\u306b\u623b\u3059\/","og_site_name":"XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","article_publisher":"https:\/\/www.facebook.com\/ktrickLLC","article_published_time":"2010-12-19T05:05:33+00:00","author":"Tatsuki Kazunori","twitter_card":"summary_large_image","twitter_creator":"@KtrickL","twitter_site":"@KtrickL","twitter_misc":{"Written by":"Tatsuki Kazunori","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/#article","isPartOf":{"@id":"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/"},"author":{"name":"Tatsuki Kazunori","@id":"https:\/\/www.ktrick.com\/#\/schema\/person\/b25791ee2e6e62d083128a2d8d723b54"},"headline":"[CakePHP] JSON\u51fa\u529b\u6642\u306bstring\u578b\u3092int\u578b\u306b\u623b\u3059","datePublished":"2010-12-19T05:05:33+00:00","dateModified":"2010-12-19T05:05:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/"},"wordCount":59,"commentCount":2,"publisher":{"@id":"https:\/\/www.ktrick.com\/#organization"},"keywords":["CakePHP","JSON"],"articleSection":["JSON","CakePHP","iPhone"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/","url":"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/","name":"[CakePHP] JSON\u51fa\u529b\u6642\u306bstring\u578b\u3092int\u578b\u306b\u623b\u3059 | XPages\u3001IBM Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","isPartOf":{"@id":"https:\/\/www.ktrick.com\/#website"},"datePublished":"2010-12-19T05:05:33+00:00","dateModified":"2010-12-19T05:05:33+00:00","breadcrumb":{"@id":"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ktrick.com\/cakephp-json%e5%87%ba%e5%8a%9b%e6%99%82%e3%81%abstring%e5%9e%8b%e3%82%92int%e5%9e%8b%e3%81%ab%e6%88%bb%e3%81%99\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/www.ktrick.com\/"},{"@type":"ListItem","position":2,"name":"[CakePHP] JSON\u51fa\u529b\u6642\u306bstring\u578b\u3092int\u578b\u306b\u623b\u3059"}]},{"@type":"WebSite","@id":"https:\/\/www.ktrick.com\/#website","url":"https:\/\/www.ktrick.com\/","name":"XPages\u3001HCL Notes\/Domino\u306e\u30e2\u30d0\u30a4\u30eb\u30fbWEB\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001\u6280\u8853\u652f\u63f4 - \u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","description":"HCL Notes\/Domino\u306e\u4fdd\u5b88\u3001\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u304b\u3089\u30a2\u30d7\u30ea\u958b\u767a\u3001\u30af\u30e9\u30a6\u30c9\u904b\u7528\u307e\u3067\u5168\u3066\u3092\u30b5\u30dd\u30fc\u30c8","publisher":{"@id":"https:\/\/www.ktrick.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ktrick.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.ktrick.com\/#organization","name":"\u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","url":"https:\/\/www.ktrick.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ktrick.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.ktrick.com\/wp-content\/uploads\/2019\/09\/KTRICK_300x300.png","contentUrl":"https:\/\/www.ktrick.com\/wp-content\/uploads\/2019\/09\/KTRICK_300x300.png","width":300,"height":300,"caption":"\u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e"},"image":{"@id":"https:\/\/www.ktrick.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ktrickLLC","https:\/\/twitter.com\/KtrickL"]},{"@type":"Person","@id":"https:\/\/www.ktrick.com\/#\/schema\/person\/b25791ee2e6e62d083128a2d8d723b54","name":"Tatsuki Kazunori","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ktrick.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9638cc5f66ac38d785f171da94301196?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9638cc5f66ac38d785f171da94301196?s=96&d=mm&r=g","caption":"Tatsuki Kazunori"},"description":"\u30b1\u30fc\u30c8\u30ea\u30c3\u30af\u682a\u5f0f\u4f1a\u793e CEO &amp; CTO\u3092\u3057\u3066\u3044\u307e\u3059\u3002 Notes\/Domino\u306e\u958b\u767a\u3092\u5f97\u610f\u3068\u3057\u307e\u3059\u304c\u3001 C++ \/ Java \/ PHP \/ Javascript \u306a\u3069\u306e\u8a00\u8a9e\u3092\u4f7f\u3063\u3066WEB\u30a2\u30d7\u30ea\u3001iPhone \/ Android \u30a2\u30d7\u30ea\u958b\u767a\u306a\u3069\u3092\u3057\u305f\u308a\u3057\u307e\u3059\u3002 XPages\u306e\u4ed5\u4e8b\u3092\u3057\u3066\u3044\u308b\u3068\u30c6\u30f3\u30b7\u30e7\u30f3\u304c\u901a\u5e38\u306e1.25\u500d\u3050\u3089\u3044\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002 I am owner of KTrick Co., Ltd. and Notes\/Domino developer. HCL Ambassador (IBM Champion for 2015 - current). I am interested in web application development and preferred languages are Notes\/Domino, C++ \/ Java \/ PHP \/ Javascript.","sameAs":["http:\/\/www.ktrick.com\/wp"],"url":"https:\/\/www.ktrick.com\/en\/author\/ktatsuki\/"}]}},"_links":{"self":[{"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/posts\/174"}],"collection":[{"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/comments?post=174"}],"version-history":[{"count":1,"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/posts\/174\/revisions"}],"predecessor-version":[{"id":683,"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/posts\/174\/revisions\/683"}],"wp:attachment":[{"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/media?parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/categories?post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktrick.com\/en\/wp-json\/wp\/v2\/tags?post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}