{"id":11843,"date":"2025-11-21T16:14:19","date_gmt":"2025-11-21T07:14:19","guid":{"rendered":"https:\/\/rakkoserver.com\/plus\/?p=11843"},"modified":"2026-01-30T11:21:46","modified_gmt":"2026-01-30T02:21:46","slug":"tool-json-decode-encode","status":"publish","type":"post","link":"https:\/\/rakkoserver.com\/plus\/tool-json-decode-encode\/","title":{"rendered":"JSON\u30a8\u30f3\u30b3\u30fc\u30c9\/\u30c7\u30b3\u30fc\u30c9\u30c4\u30fc\u30eb"},"content":{"rendered":"\n<!-- JSON \u30a8\u30f3\u30b3\u30fc\u30c9\/\u30c7\u30b3\u30fc\u30c9 \u30c4\u30fc\u30eb -->\n  <script src=\"https:\/\/media-api.qcdgv19414.rakkoserver.net\/json-encorder.js\">\n  <\/script>\n<div id=\"json-tool-container\" style=\"width: 100%; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\">\n  <style>\n    #json-tool-container * {\n      box-sizing: border-box;\n    }\n    \n    .json-tool-wrapper {\n      max-width: 720px;\n      margin: 0 auto;\n    }\n    \n    .json-tool-header {\n      margin-bottom: 20px;\n    }\n    \n    .json-tool-title {\n      font-size: 18px;\n      font-weight: bold;\n      margin: 0 0 15px 0;\n      color: #333;\n    }\n    \n    .json-mode-tabs {\n      display: flex;\n      gap: 10px;\n      margin-bottom: 15px;\n    }\n    \n    .json-mode-tab {\n      flex: 1;\n      padding: 10px 15px;\n      background: #f5f5f5;\n      border: 1px solid #ddd;\n      cursor: pointer;\n      text-align: center;\n      font-size: 14px;\n      transition: all 0.2s;\n      outline: none;\n    }\n    \n    .json-mode-tab:hover {\n      background: #e8e8e8;\n    }\n    \n    .json-mode-tab:focus {\n      outline: 2px solid #13284B;\n      outline-offset: 2px;\n    }\n    \n    .json-mode-tab.active {\n      background: #13284B;\n      color: white;\n      border-color: #13284B;\n    }\n    \n    .json-mode-tab.active:hover {\n      background: #1a3560;\n    }\n    \n    .json-indent-select {\n      margin-bottom: 15px;\n    }\n    \n    .json-indent-label {\n      font-size: 14px;\n      color: #666;\n      margin-right: 10px;\n    }\n    \n    .json-indent-dropdown {\n      padding: 8px 12px;\n      border: 1px solid #ddd;\n      background: white;\n      font-size: 14px;\n      cursor: pointer;\n    }\n    \n    .json-indent-dropdown:focus {\n      outline: 2px solid #13284B;\n      outline-offset: 2px;\n    }\n    \n    .json-main-content {\n      display: flex;\n      flex-direction: column;\n      gap: 15px;\n      margin-bottom: 15px;\n    }\n    \n    .json-input-section,\n    .json-output-section {\n      flex: 1;\n    }\n    \n    .json-section-title {\n      font-size: 14px;\n      font-weight: bold;\n      margin: 0 0 8px 0;\n      color: #333;\n    }\n    \n    .json-textarea {\n      width: 100%;\n      min-height: 300px;\n      padding: 12px;\n      border: 1px solid #ddd;\n      font-family: 'Courier New', Consolas, monospace;\n      font-size: 13px;\n      resize: vertical;\n      background: white;\n    }\n    \n    .json-textarea:focus {\n      outline: 2px solid #13284B;\n      outline-offset: 0;\n      border-color: #13284B;\n    }\n    \n    .json-output-area {\n      width: 100%;\n      min-height: 300px;\n      padding: 12px;\n      border: 1px solid #ddd;\n      font-family: 'Courier New', Consolas, monospace;\n      font-size: 13px;\n      background: #f9f9f9;\n      overflow: auto;\n      white-space: pre;\n      position: relative;\n    }\n    \n    .json-error-message {\n      background: #fff3f3;\n      border: 1px solid #ff4444;\n      color: #cc0000;\n      padding: 12px;\n      margin-bottom: 10px;\n      font-size: 13px;\n      display: none;\n      line-height: 1.5;\n    }\n    \n    .json-syntax-highlight .key {\n      color: #881391;\n    }\n    \n    .json-syntax-highlight .string {\n      color: #1A1AA6;\n    }\n    \n    .json-syntax-highlight .number {\n      color: #1C00CF;\n    }\n    \n    .json-syntax-highlight .boolean {\n      color: #007020;\n    }\n    \n    .json-syntax-highlight .null {\n      color: #666;\n    }\n    \n    .json-line-numbers {\n      position: absolute;\n      left: 0;\n      top: 0;\n      padding: 12px 8px;\n      background: #eee;\n      color: #999;\n      text-align: right;\n      user-select: none;\n      border-right: 1px solid #ddd;\n      min-width: 40px;\n    }\n    \n    .json-output-content {\n      padding-left: 50px;\n    }\n    \n    .json-button-group {\n      display: flex;\n      gap: 10px;\n      flex-wrap: wrap;\n    }\n    \n    .json-button {\n      padding: 12px 24px;\n      border: none;\n      background: #13284B;\n      color: white;\n      font-size: 14px;\n      cursor: pointer;\n      transition: all 0.2s;\n      flex: 1;\n      min-width: 120px;\n      outline: none;\n    }\n    \n    .json-button:hover:not(:disabled) {\n      background: #1a3560;\n    }\n    \n    .json-button:focus {\n      outline: 2px solid #13284B;\n      outline-offset: 2px;\n    }\n    \n    .json-button:disabled {\n      opacity: 0.5;\n      cursor: not-allowed;\n    }\n    \n    .json-button-secondary {\n      background: #666;\n    }\n    \n    .json-button-secondary:hover:not(:disabled) {\n      background: #555;\n    }\n    \n    .json-button-outline {\n      background: white;\n      color: #666;\n      border: 1px solid #ddd;\n    }\n    \n    .json-button-outline:hover:not(:disabled) {\n      background: #f5f5f5;\n    }\n    \n    .json-info-summary {\n      font-size: 12px;\n      color: #999;\n      text-align: right;\n      margin-top: 10px;\n    }\n    \n    .json-toast {\n      position: fixed;\n      bottom: 20px;\n      right: 20px;\n      background: #333;\n      color: white;\n      padding: 12px 20px;\n      border-radius: 4px;\n      font-size: 14px;\n      display: none;\n      z-index: 1000;\n      animation: slideIn 0.3s ease-out;\n    }\n    \n    @keyframes slideIn {\n      from {\n        transform: translateY(20px);\n        opacity: 0;\n      }\n      to {\n        transform: translateY(0);\n        opacity: 1;\n      }\n    }\n    \n    .json-loading {\n      display: none;\n      color: #666;\n      font-size: 13px;\n      margin-top: 5px;\n    }\n    \n    @media (max-width: 768px) {\n      .json-button-group {\n        flex-direction: column;\n      }\n      \n      .json-button {\n        width: 100%;\n      }\n      \n      .json-toast {\n        left: 20px;\n        right: 20px;\n      }\n    }\n  <\/style>\n  \n  <div class=\"json-tool-wrapper\">\n    <div class=\"json-tool-header\">\n      <div class=\"json-mode-tabs\" role=\"tablist\">\n        <div class=\"json-mode-tab active\" data-mode=\"decode\" role=\"tab\" tabindex=\"0\" aria-selected=\"true\">\u30c7\u30b3\u30fc\u30c9\uff08\u6574\u5f62\u30fb\u8868\u793a\uff09<\/div>\n        <div class=\"json-mode-tab\" data-mode=\"encode\" role=\"tab\" tabindex=\"0\" aria-selected=\"false\">\u30a8\u30f3\u30b3\u30fc\u30c9\uff08\u4e00\u884c\u5316\u30fb\u5727\u7e2e\uff09<\/div>\n      <\/div>\n      \n      <div class=\"json-indent-select\" id=\"indent-select-area\">\n        <label class=\"json-indent-label\" for=\"indent-dropdown\">\u30a4\u30f3\u30c7\u30f3\u30c8:<\/label>\n        <select class=\"json-indent-dropdown\" id=\"indent-dropdown\">\n          <option value=\"2\" selected>2\u30b9\u30da\u30fc\u30b9\uff08\u63a8\u5968\uff09<\/option>\n          <option value=\"4\">4\u30b9\u30da\u30fc\u30b9<\/option>\n          <option value=\"tab\">\u30bf\u30d6\u533a\u5207\u308a<\/option>\n        <\/select>\n      <\/div>\n    <\/div>\n    \n    <div class=\"json-main-content\">\n      <div class=\"json-input-section\">\n        <p class=\"json-section-title\">\u5165\u529b<\/p>\n        <textarea id=\"json-input\" class=\"json-textarea\" placeholder=\"\u3053\u3053\u306bJSON\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u307e\u305f\u306f\u914d\u5217\u30c7\u30fc\u30bf\uff09\" aria-label=\"JSON\u5165\u529b\u30a8\u30ea\u30a2\"><\/textarea>\n      <\/div>\n      \n      <div class=\"json-button-group\">\n        <button id=\"json-execute-btn\" class=\"json-button\" aria-label=\"JSON\u6574\u5f62\u3092\u5b9f\u884c\">\u6574\u5f62\u3059\u308b<\/button>\n        <button id=\"json-copy-btn\" class=\"json-button json-button-secondary\" aria-label=\"\u7d50\u679c\u3092\u30b3\u30d4\u30fc\" disabled>\u30b3\u30d4\u30fc<\/button>\n        <button id=\"json-download-btn\" class=\"json-button json-button-secondary\" aria-label=\"\u7d50\u679c\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\" disabled>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/button>\n        <button id=\"json-clear-btn\" class=\"json-button json-button-outline\" aria-label=\"\u5165\u529b\u3068\u51fa\u529b\u3092\u30af\u30ea\u30a2\">\u30af\u30ea\u30a2<\/button>\n      <\/div>\n      \n      <div class=\"json-output-section\">\n        <p class=\"json-section-title\">\u51fa\u529b<\/p>\n        <div id=\"json-error\" class=\"json-error-message\" role=\"alert\"><\/div>\n        <div id=\"json-output\" class=\"json-output-area\" aria-label=\"JSON\u51fa\u529b\u30a8\u30ea\u30a2\" aria-live=\"polite\"><\/div>\n        <div id=\"json-loading\" class=\"json-loading\">\u51e6\u7406\u4e2d\u2026<\/div>\n      <\/div>\n    <\/div>\n    \n    <div class=\"json-info-summary\" id=\"json-info\"><\/div>\n  <\/div>\n  \n  <div id=\"json-toast\" class=\"json-toast\" role=\"status\" aria-live=\"polite\"><\/div>\n\n\n<\/div>\n\n\n\n<p>\u3053\u306e\u300cJSON\u30a8\u30f3\u30b3\u30fc\u30c9\u30fb\u30c7\u30b3\u30fc\u30c9\u30c4\u30fc\u30eb\u300d\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3084\u30c7\u30fc\u30bf\u901a\u4fe1\u3067\u6271\u308f\u308c\u308bJSON\u30c7\u30fc\u30bf\u3092\u3001\u4eba\u9593\u304c\u898b\u3084\u3059\u3044\u5f62\u5f0f\u306b\u6574\u5f62\u3057\u305f\u308a\u3001\u9006\u306b\u30c7\u30fc\u30bf\u91cf\u3092\u524a\u6e1b\u3059\u308b\u305f\u3081\u306b\u5727\u7e2e\u3057\u305f\u308a\u3067\u304d\u308b\u7121\u6599\u306eWEB\u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-0\">\u3053\u306e\u30c4\u30fc\u30eb\u3067\u3067\u304d\u308b\u3053\u3068<\/h2>\n\n\n\n<p>\u4e3b\u306b\u4ee5\u4e0b\u306e2\u3064\u306e\u6a5f\u80fd\u3092\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30c7\u30b3\u30fc\u30c9\uff08\u6574\u5f62\u30fb\u8868\u793a\uff09\u6a5f\u80fd<\/strong> API\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u3084\u30ed\u30b0\u30c7\u30fc\u30bf\u306a\u3069\u3001\u6539\u884c\u304c\u306a\u304f\u4e00\u884c\u306b\u8a70\u307e\u3063\u3066\u3044\u3066\u8aad\u307f\u3065\u3089\u3044JSON\u30c7\u30fc\u30bf\u3092\u3001\u968e\u5c64\u69cb\u9020\u306b\u5408\u308f\u305b\u3066\u6539\u884c\u30fb\u30a4\u30f3\u30c7\u30f3\u30c8\uff08\u5b57\u4e0b\u3052\uff09\u3057\u3001\u898b\u3084\u3059\u3044\u5f62\u5f0f\u306b\u6574\u5f62\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30a8\u30f3\u30b3\u30fc\u30c9\uff08\u4e00\u884c\u5316\u30fb\u5727\u7e2e\uff09\u6a5f\u80fd<\/strong> \u6574\u5f62\u3055\u308c\u305fJSON\u30c7\u30fc\u30bf\u306e\u4f59\u5206\u306a\u30b9\u30da\u30fc\u30b9\u3084\u6539\u884c\u3092\u53d6\u308a\u9664\u304d\u3001\u4e00\u884c\u306e\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u306b\u5727\u7e2e\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306e\u8ee2\u9001\u91cf\u3092\u6e1b\u3089\u3057\u305f\u3044\u5834\u5408\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-1\"><strong>\u4e3b\u306a\u7279\u5fb4<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30a4\u30f3\u30c7\u30f3\u30c8\u8abf\u6574:<\/strong> \u898b\u3084\u3059\u3055\u306b\u5408\u308f\u305b\u3066\u3001\u30a4\u30f3\u30c7\u30f3\u30c8\u306e\u5e45\u3092\u300c2\u30b9\u30da\u30fc\u30b9\u300d\u306a\u3069\u306b\u5909\u66f4\u53ef\u80fd\u3067\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30ef\u30f3\u30af\u30ea\u30c3\u30af\u64cd\u4f5c:<\/strong> \u6574\u5f62\u5f8c\u306e\u30c7\u30fc\u30bf\u3092\u300c\u30b3\u30d4\u30fc\u300d\u3057\u305f\u308a\u3001<code>.json<\/code>\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-2\">\u3053\u306e\u30c4\u30fc\u30eb\u3067\u6271\u3046\u60c5\u5831\u306e\u57fa\u790e\u77e5\u8b58<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-3\"><strong>JSON\uff08\u30b8\u30a7\u30a4\u30bd\u30f3\uff09\u3068\u306f<\/strong><\/h3>\n\n\n\n<p>JSON\uff08JavaScript Object Notation\uff09\u306f\u3001\u30c6\u30ad\u30b9\u30c8\u30d9\u30fc\u30b9\u306e\u30c7\u30fc\u30bf\u4ea4\u63db\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u3059\u3002\u5143\u3005\u306fJavaScript\u3068\u3044\u3046\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u8868\u8a18\u6cd5\u3092\u30d9\u30fc\u30b9\u306b\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u73fe\u5728\u3067\u306fPython\u3001PHP\u3001Java\u306a\u3069\u591a\u304f\u306e\u8a00\u8a9e\u3067\u5229\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4eba\u9593\u306b\u3082\u8aad\u307f\u3084\u3059\u304f\u3001\u304b\u3064\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u3068\u3063\u3066\u3082\u51e6\u7406\u3057\u3084\u3059\u3044\u306e\u304c\u7279\u5fb4\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-4\"><strong>\u30a8\u30f3\u30b3\u30fc\u30c9\u3068\u30c7\u30b3\u30fc\u30c9\u306e\u9055\u3044<\/strong><\/h3>\n\n\n\n<p>\u3053\u306e\u30c4\u30fc\u30eb\u306b\u304a\u3051\u308b\u5b9a\u7fa9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30c7\u30b3\u30fc\u30c9\uff08\u6574\u5f62\uff09:<\/strong> \u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u5411\u3051\u306e\u5727\u7e2e\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u3001\u4eba\u9593\u304c\u7406\u89e3\u3057\u3084\u3059\u3044\u69cb\u9020\uff08\u30c4\u30ea\u30fc\u72b6\u306a\u3069\uff09\u306b\u5c55\u958b\u3059\u308b\u3053\u3068\u3002<\/li>\n\n\n\n<li><strong>\u30a8\u30f3\u30b3\u30fc\u30c9\uff08\u5727\u7e2e\uff09:<\/strong> \u4eba\u9593\u304c\u898b\u3084\u3059\u3044\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\u3092\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u304c\u52b9\u7387\u3088\u304f\u51e6\u7406\u30fb\u901a\u4fe1\u3067\u304d\u308b\u3088\u3046\u306b\u6700\u5c0f\u9650\u306e\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"i-5\"><strong>JSON\u306e\u57fa\u672c\u30eb\u30fc\u30eb<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30c7\u30fc\u30bf\u306f\u300c\u30ad\u30fc\u300d\u3068\u300c\u5024\u300d\u306e\u30da\u30a2\u3067\u8a18\u8ff0\u3055\u308c\u307e\u3059\uff08\u4f8b: <code>\"name\": \"Taro\"<\/code>\uff09\u3002<\/li>\n\n\n\n<li>\u6587\u5b57\u5217\u306f\u5fc5\u305a\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\uff08<code>\"<\/code>\uff09\u3067\u56f2\u3080\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\uff08<code>'<\/code>\uff09\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002<\/li>\n\n\n\n<li>\u30c7\u30fc\u30bf\u306e\u96c6\u5408\u306f\u6ce2\u62ec\u5f27 <code>{ }<\/code> \u307e\u305f\u306f\u89d2\u62ec\u5f27 <code>[ ]<\/code> \u3067\u56f2\u307f\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-6\">\u3053\u306e\u30c4\u30fc\u30eb\u304c\u5f79\u7acb\u3064\u306e\u306f\u3069\u3093\u306a\u3068\u304d\uff1f<\/h2>\n\n\n\n<p><strong>1. API\u958b\u767a\u3084\u30c7\u30d0\u30c3\u30b0\u3092\u884c\u3046\u3068\u304d<\/strong> WEB API\u304b\u3089\u8fd4\u3063\u3066\u304f\u308b\u30c7\u30fc\u30bf\u306f\u3001\u591a\u304f\u306e\u5834\u5408\u3001\u30c7\u30fc\u30bf\u91cf\u3092\u6e1b\u3089\u3059\u305f\u3081\u306b\u5727\u7e2e\uff08\u4e00\u884c\u5316\uff09\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u3048\u3070\u3001\u77ac\u6642\u306b\u69cb\u9020\u5316\u3055\u308c\u305f\u30c7\u30fc\u30bf\u306b\u6574\u5f62\u3067\u304d\u308b\u305f\u3081\u3001\u8fd4\u3063\u3066\u304d\u305f\u5024\u304c\u6b63\u3057\u3044\u304b\u3069\u3046\u304b\u3092\u3059\u3050\u306b\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>2. \u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u89e3\u6790<\/strong> \u30b7\u30b9\u30c6\u30e0\u304c\u51fa\u529b\u3059\u308b\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u304cJSON\u5f62\u5f0f\u306e\u5834\u5408\u3001\u305d\u306e\u307e\u307e\u3067\u306f\u89e3\u8aad\u304c\u56f0\u96e3\u3067\u3059\u3002\u3053\u306e\u30c4\u30fc\u30eb\u306b\u8cbc\u308a\u4ed8\u3051\u308b\u3053\u3068\u3067\u3001\u30a8\u30e9\u30fc\u306e\u5185\u5bb9\u3084\u767a\u751f\u7b87\u6240\u3092\u8996\u899a\u7684\u306b\u628a\u63e1\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>3. \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6<\/strong> <code>.json<\/code>\u5f62\u5f0f\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u969b\u3001\u66f8\u304d\u65b9\u304c\u6b63\u3057\u3044\u304b\u3092\u78ba\u8a8d\u3057\u305f\u308a\u3001\u65e2\u5b58\u306e\u5727\u7e2e\u3055\u308c\u305f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u3084\u3059\u304f\u5c55\u958b\u3057\u3066\u7de8\u96c6\u3057\u305f\u308a\u3059\u308b\u969b\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>4. PHP\u914d\u5217\u306a\u3069\u3092JSON\u306b\u5909\u63db\u3057\u305f\u3044\u3068\u304d<\/strong> PHP\u306a\u3069\u306e\u914d\u5217\u30c7\u30fc\u30bf\u3092\u5165\u529b\u3057\u3001JSON\u5f62\u5f0f\u306e\u6587\u5b57\u5217\u3068\u3057\u3066\u53d6\u5f97\u3057\u305f\u3044\u5834\u5408\u306b\u3082\u5229\u7528\u53ef\u80fd\u3067\u3059\uff08\u5165\u529b\u30c7\u30fc\u30bf\u306e\u5f62\u5f0f\u306b\u3088\u308a\u307e\u3059\uff09\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-7\">JSON\u306e\u3088\u304f\u3042\u308b\u30a8\u30e9\u30fc\u3068\u5bfe\u51e6\u6cd5<\/h2>\n\n\n\n<p>JSON\u304c\u6b63\u3057\u304f\u5909\u63db\u3067\u304d\u306a\u3044\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u69cb\u6587\u30a8\u30e9\u30fc\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u672b\u5c3e\u306e\u30ab\u30f3\u30de\uff08Trailing Commas\uff09:<\/strong> \u914d\u5217\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6700\u5f8c\u306e\u8981\u7d20\u306e\u5f8c\u306b\u30ab\u30f3\u30de\u304c\u4ed8\u3044\u3066\u3044\u308b\uff08\u4f8b: <code>{\"a\": 1,}<\/code>\uff09\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u5f15\u7528\u7b26\u306e\u8aa4\u308a:<\/strong> \u30ad\u30fc\u3084\u6587\u5b57\u5217\u306e\u5024\u304c\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\uff08<code>'<\/code>\uff09\u3067\u56f2\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\uff08<code>\"<\/code>\uff09\u306b\u4fee\u6b63\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u5168\u89d2\u6587\u5b57\u306e\u6df7\u5165:<\/strong> \u30b9\u30da\u30fc\u30b9\u3084\u5f15\u7528\u7b26\u304c\u5168\u89d2\u6587\u5b57\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u6b63\u3057\u304f\u8a8d\u8b58\u3055\u308c\u307e\u305b\u3093\u3002\u534a\u89d2\u6587\u5b57\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30c7\u30b3\u30fc\u30c9\uff08\u6574\u5f62\u30fb\u8868\u793a\uff09 \u30a8\u30f3\u30b3\u30fc\u30c9\uff08\u4e00\u884c\u5316\u30fb\u5727\u7e2e\uff09 \u30a4\u30f3\u30c7\u30f3\u30c8: 2\u30b9\u30da\u30fc\u30b9\uff08\u63a8\u5968\uff094\u30b9\u30da\u30fc\u30b9\u30bf\u30d6\u533a\u5207\u308a \u5165\u529b \u6574\u5f62\u3059\u308b \u30b3\u30d4\u30fc \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 \u30af\u30ea\u30a2 \u51fa\u529b \u51e6\u7406\u4e2d\u2026 \u3053\u306e\u300cJSON\u30a8\u30f3\u30b3\u30fc\u30c9\u30fb\u30c7\u30b3\u30fc\u30c9\u30c4\u30fc\u30eb\u300d\u306f\u3001\u30d7\u30ed\u30b0 &#8230; <\/p>\n","protected":false},"author":4,"featured_media":11868,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,31,35],"tags":[],"class_list":{"0":"post-11843","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tool","8":"category-conversion","9":"category-shaping","10":"entry"},"_links":{"self":[{"href":"https:\/\/rakkoserver.com\/plus\/wp-json\/wp\/v2\/posts\/11843","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rakkoserver.com\/plus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rakkoserver.com\/plus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rakkoserver.com\/plus\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/rakkoserver.com\/plus\/wp-json\/wp\/v2\/comments?post=11843"}],"version-history":[{"count":20,"href":"https:\/\/rakkoserver.com\/plus\/wp-json\/wp\/v2\/posts\/11843\/revisions"}],"predecessor-version":[{"id":12016,"href":"https:\/\/rakkoserver.com\/plus\/wp-json\/wp\/v2\/posts\/11843\/revisions\/12016"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rakkoserver.com\/plus\/wp-json\/wp\/v2\/media\/11868"}],"wp:attachment":[{"href":"https:\/\/rakkoserver.com\/plus\/wp-json\/wp\/v2\/media?parent=11843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rakkoserver.com\/plus\/wp-json\/wp\/v2\/categories?post=11843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rakkoserver.com\/plus\/wp-json\/wp\/v2\/tags?post=11843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}