{"id":437,"date":"2019-01-27T17:19:40","date_gmt":"2019-01-27T08:19:40","guid":{"rendered":"https:\/\/162.43.49.248\/blog\/?p=437"},"modified":"2019-01-27T17:34:58","modified_gmt":"2019-01-27T08:34:58","slug":"azure%e3%81%aesql-database%e3%81%8b%e3%82%89%e5%a4%9a%e5%b1%a4%e3%83%8d%e3%82%b9%e3%83%88%e3%81%95%e3%82%8c%e3%81%9fjson%e3%82%92%e8%bf%94%e3%81%99rest-api%e3%82%92%e4%bd%9c%e3%82%8b%e5%a0%b4%e5%90%88","status":"publish","type":"post","link":"https:\/\/yujiro.work\/blog\/?p=437","title":{"rendered":"Azure\u306eSQL DATABASE\u304b\u3089\u591a\u5c64\u30cd\u30b9\u30c8\u3055\u308c\u305fJSON\u3092\u8fd4\u3059REST API\u3092\u4f5c\u308b\u5834\u5408\u3001SELECT\u6587\u3060\u3051\u3067\u9593\u306b\u5408\u3063\u3066\u3057\u307e\u3046(Transact-SQL)"},"content":{"rendered":"\n<p>\u305f\u307e\u305f\u307eAzure\u306eSQL DATABASE(\u2252SQL Server)\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u8aad\u3093\u3067\u3044\u305f\u3068\u304d\u306b\u6c17\u304c\u4ed8\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u6700\u8fd1\u306eSQL Server\u3063\u3066\u30af\u30a8\u30ea\u672b\u5c3e\u306b&#8221;FOR JSON&#8221;\u3092\u4ed8\u4e0e\u3059\u308c\u3070\u30af\u30a8\u30ea\u7d50\u679c\u3092\u305d\u306e\u307e\u307eJSON\u306b\u51fa\u6765\u308b\u3093\u3067\u3059\u3063\u3066\uff01\uff1f\u305d\u3093\u306a\u3053\u3068\u77e5\u3089\u305a\u306bDapper\u3067\u30ac\u30ea\u30ac\u30ea\u3068SQL\u3092\u30d1\u30fc\u30b9\u3057\u3066JSON\u3092\u4f5c\u3063\u3066\u3044\u305f\u3068\u304b\u99ac\u9e7f\u4e38\u51fa\u3057\u3067\u3059\u306d\u30ef\u30bf\u30b7\u3002\u30d1\u30c8\u30e9\u30c3\u30b7\u30e5\u30fb\u30fb\u6b21\u304b\u3089\u9811\u5f35\u308b\u3088\u30fb\u30fb\u30fb\u30fb\u3002<\/p>\n\n\n\n<p>\u3068\u3044\u3046\u3053\u3068\u3067SQL\u3060\u3051\u3067\u591a\u5c64\u30cd\u30b9\u30c8JSON\u304c\u51fa\u6765\u308b\u307e\u3067\u3092\u691c\u8a3c\u3057\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u306b\u305d\u306e\u65b9\u6cd5\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6e96\u5099\uff1aAzure\u4e0a\u306b\u30b5\u30f3\u30d7\u30ebDB\u3092\u4f5c\u6210 (\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e&#8221;AdventureWorkLT&#8221;\u3092\u5229\u7528) <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"318\" height=\"310\" src=\"https:\/\/162.43.49.248\/blog\/wp-content\/uploads\/2019\/01\/SQLDB01.png\" alt=\"\" class=\"wp-image-438\" srcset=\"https:\/\/yujiro.work\/blog\/wp-content\/uploads\/2019\/01\/SQLDB01.png 318w, https:\/\/yujiro.work\/blog\/wp-content\/uploads\/2019\/01\/SQLDB01-300x292.png 300w\" sizes=\"auto, (max-width: 318px) 100vw, 318px\" \/><\/figure>\n\n\n\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u3092\u5229\u7528\u3057\u3066\u300c\u30bb\u30fc\u30eb\u30b9\u306e\u5b58\u5728\u3059\u308b\u9867\u5ba2\u5225\u306b\u30aa\u30fc\u30c0\u30fc\u3068\u305d\u306e\u30aa\u30fc\u30c0\u30fc\u8a73\u7d30\u3092\u8868\u793a\u3059\u308b\u300d\u3068\u3044\u30463\u5c64\u30cd\u30b9\u30c8\u69cb\u9020\u3092\u518d\u73fe\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>SQL\u3067\u8868\u73fe\u3059\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">SELECT  CUST.CustomerID, \n        CUST.FirstName, \n        CUST.LastName, \n        CUST.Phone,\n        SHDR.SalesOrderID, \n        SHDR.OrderDate, \n        SHDR.SubTotal,\n        DETL.SalesOrderDetailID,\n        DETL.ProductID,\n        PRDT.Name,\n        DETL.LineTotal\nFROM SalesLT.Customer CUST\nINNER JOIN SalesLT.SalesOrderHeader SHDR\nON SHDR.CustomerID = CUST.CustomerID\nINNER JOIN SalesLT.SalesOrderDetail DETL\nON DETL.SalesOrderID = SHDR.SalesOrderID\nINNER JOIN SalesLT.Product PRDT\nON PRDT.ProductID = DETL.ProductID\nORDER BY CUST.CustomerID,SHDR.SalesOrderID,DETL.SalesOrderDetailID\n<\/pre>\n\n\n\n<p>\u5b9f\u884c\u3059\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"293\" src=\"https:\/\/162.43.49.248\/blog\/wp-content\/uploads\/2019\/01\/SQLDB02-1024x293.png\" alt=\"\" class=\"wp-image-442\" srcset=\"https:\/\/yujiro.work\/blog\/wp-content\/uploads\/2019\/01\/SQLDB02-1024x293.png 1024w, https:\/\/yujiro.work\/blog\/wp-content\/uploads\/2019\/01\/SQLDB02-300x86.png 300w, https:\/\/yujiro.work\/blog\/wp-content\/uploads\/2019\/01\/SQLDB02-768x220.png 768w, https:\/\/yujiro.work\/blog\/wp-content\/uploads\/2019\/01\/SQLDB02-624x179.png 624w, https:\/\/yujiro.work\/blog\/wp-content\/uploads\/2019\/01\/SQLDB02.png 1150w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>SQL\u5b9f\u884c\u7d50\u679c<\/figcaption><\/figure>\n\n\n\n<p>\u3044\u304b\u306b\u3082Dapper\u3067\u5206\u5272\u3057\u3066\u304f\u3060\u3055\u3044\u3068\u8a00\u308f\u3093\u3070\u304b\u308a\u306e\u51fa\u529b\u7d50\u679c\u3067\u3059\u304c\u3001\u4eca\u56de\u306fDapper\u306f\u4f7f\u308f\u305aSQL DATABASE\u306e\u57fa\u672c\u6a5f\u80fd\u3060\u3051\u3057\u304b\u4f7f\u3044\u307e\u305b\u3093\u3002\u3067\u3059\u306e\u3067\u3053\u306eSQL\u306e\u6587\u672b\u306b&#8221;FOR JSON AUTO&#8221;\u3092\u4ed8\u4e0e\u3059\u308c\u3070\u3081\u3067\u305f\u304f\u89e3\u6c7a\u30fb\u30fb\u30fb\u3067\u306f\u306a\u304f\u3001\u3053\u3053\u304b\u3089\u30cd\u30b9\u30c8\u3055\u305b\u305f\u3044\u968e\u5c64\u3054\u3068\u306b\u30b5\u30d6\u30af\u30a8\u30ea\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u3092\u30b9\u30c8\u30a2\u30c9\u30d5\u30a1\u30f3\u30af\u30b7\u30e7\u30f3\u5316\u3057\u305f\u306e\u304c\u4ee5\u4e0b\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">CREATE OR ALTER FUNCTION GetSalesInfoByValidCustomer() \nRETURNS nvarchar(MAX)\nAS\nBEGIN\n\tDECLARE @json nvarchar(MAX)\n\tSET @json = ( \n\t\tSELECT\tCUST.CustomerID, \n\t\t\t\tCUST.FirstName, \n\t\t\t\tCUST.LastName, \n\t\t\t\tCUST.Phone,\n\t\t\t\t(\n\t\t\t\t\tSELECT\n\t\t\t\t\tSHDR.SalesOrderID, \n\t\t\t\t\tSHDR.OrderDate, \n\t\t\t\t\tSHDR.SubTotal\n\t\t\t\t   ,(\n\t\t\t\t\t\tSELECT \n\t\t\t\t\t\t\tDETL.SalesOrderDetailID,\n\t\t\t\t\t\t\tDETL.ProductID,\n\t\t\t\t\t\t\tPRDT.Name,\n\t\t\t\t\t\t\tDETL.LineTotal\n\t   \t\t\t\t\tFROM SalesLT.SalesOrderDetail DETL\n\t\t\t\t\t\tINNER JOIN SalesLT.Product PRDT\n\t\t\t\t\t\tON PRDT.ProductID = DETL.ProductID\n\t\t\t\t\t\tWHERE DETL.SalesOrderID = SHDR.SalesOrderID\n\t\t\t\t\t\tORDER BY DETL.SalesOrderDetailID\n\t\t\t\t\t\tFOR JSON PATH\n\t\t\t\t   ) AS DETAIL\n\t\t\t\t\tFROM SalesLT.SalesOrderHeader SHDR\n\t\t\t\t\tWHERE SHDR.CustomerID = CUST.CustomerID\n\t\t\t\t\tORDER BY SHDR.SalesOrderID\n\t\t\t\t\tFOR JSON PATH\n\t\t\t\t) AS [ORDERS]\n\t\tFROM SalesLT.Customer CUST\n\t\tINNER JOIN SalesLT.SalesOrderHeader SHDR\n\t\tON SHDR.CustomerID = CUST.CustomerID\n\t\tORDER BY CUST.CustomerID\n\t\tFOR JSON PATH,ROOT('INFO')\n\t)\n\tRETURN @json;\nEND<\/pre>\n\n\n\n<p>\u30dd\u30a4\u30f3\u30c8\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>JSON\u306e\u53d7\u3051\u306f\u5fc5\u305aNVARCHAR(MAX)\u3068\u3059\u308b<\/li><li>&#8220;FOR JSON PATH&#8221;\u3068\u3059\u308b(PATH\u4ed8\u3051\u306a\u3044\u3068\u30b3\u30b1\u308b)<\/li><li>ROOT(&#8216;INFO&#8217;)\u3068\u3059\u308b\u3053\u3068\u3067\u30eb\u30fc\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u914d\u5217\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3084\u3059\u304f\u3059\u308b<\/li><li>\u30b5\u30d6\u30af\u30a8\u30ea\u3067\u306e\u30a8\u30a4\u30ea\u30a2\u30b9\u304cJSON\u3067\u306e\u578b\u540d\u3068\u306a\u308b<\/li><\/ul>\n\n\n\n<p>\u3053\u3046\u3057\u3066\u4f5c\u6210\u3057\u305fJSON\u3092<a href=\"http:\/\/json.parser.online.fr\/\">\u30aa\u30f3\u30e9\u30a4\u30f3\u30d1\u30fc\u30b5\u30fc<\/a>\u3067\u78ba\u8a8d\u3059\u308b\u3068\u3061\u3083\u3093\u30683\u5c64\u30cd\u30b9\u30c8\u69cb\u9020\u3068\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"543\" height=\"712\" src=\"https:\/\/162.43.49.248\/blog\/wp-content\/uploads\/2019\/01\/SQLDB03.png\" alt=\"\" class=\"wp-image-443\" srcset=\"https:\/\/yujiro.work\/blog\/wp-content\/uploads\/2019\/01\/SQLDB03.png 543w, https:\/\/yujiro.work\/blog\/wp-content\/uploads\/2019\/01\/SQLDB03-229x300.png 229w\" sizes=\"auto, (max-width: 543px) 100vw, 543px\" \/><figcaption>\u30aa\u30f3\u30e9\u30a4\u30f3\u30d1\u30fc\u30b5\u30fc\u3067\u306eJSON\u69cb\u9020\u78ba\u8a8d\u7d50\u679c<\/figcaption><\/figure>\n\n\n\n<p>\u3042\u3068\u306f\u3053\u306e\u307e\u307e\u666e\u901a\u306bHTTP Trigger\u3084PHP\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u8fd4\u3057\u3066\u3042\u3052\u308c\u3070REST API\u306e\u4f5c\u6210\u5b8c\u4e86\u306a\u306e\u3067\u3059\u3002\u4f59\u8ac7\u3067\u3059\u304c\u9006\u306bSQL\u3060\u3051\u3067JSON\u3092\u89e3\u6790\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">--JSON\u21d2\u30c6\u30fc\u30d6\u30eb\u5316\u7528\u30af\u30a8\u30ea\nDECLARE @json nvarchar(MAX)\nSET @json= dbo.GetSalesInfoByValidCustomer();\nSELECT \n\tLevel2.CustomerID,\n\tLevel2.FirstName,\n\tLevel2.LastName,\n\tLevel2.Phone,\n\tLevel2.SalesOrderID,\n\tLevel2.OrderDate,\n\tLevel2.SubTotal,\n\tSalesOrderDetailID,\n\tProductID,\n\tName ,\n\tLineTotal \nFROM\n(\n\tSELECT Level1.CustomerID,\n\t\t   Level1.FirstName,\n\t\t   Level1.LastName,\n\t\t   Level1.Phone,\n\t\t   SalesOrderID,\n\t\t   OrderDate,\n\t\t   SubTotal,\n\t\t   DETAIL\n\tFROM (\n\t\tSELECT CustomerID,\n\t\t\t   FirstName,\n\t\t\t   LastName,\n\t\t\t   Phone,\n\t\t\t   ORDERS\n\t\tFROM OPENJSON(@json,N'strict $.INFO')\n\t\tWITH (\n\t\t  CustomerID int,\n\t\t  FirstName nvarchar(50),\n\t\t  LastName nvarchar(50),\n\t\t  Phone nvarchar(25),\n\t\t  ORDERS nvarchar(MAX) AS JSON\n\t\t)\n\t) Level1\n\tCROSS APPLY OPENJSON(Level1.ORDERS)\n\tWITH(\n\t\tSalesOrderID int,\n\t\tOrderDate datetime,\n\t\tSubTotal money,\n\t\tDETAIL nvarchar(MAX) AS JSON\n\t)\n) Level2\nCROSS APPLY OPENJSON(Level2.DETAIL)\nWITH(\n\tSalesOrderDetailID int,\n\tProductID int,\n\tName nvarchar(50),\n\tLineTotal numeric(38,6)\n)\n;\n<\/pre>\n\n\n\n<p>\u5b9f\u306f\u3053\u306e\u9006\u5909\u63db\u306e\u65b9\u304c\u5927\u5909\u3067\u3057\u305f\u3002\u30dd\u30a4\u30f3\u30c8\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>&#8220;CROSS APPLY OPENJSON&#8221;\u3092\u7528\u3044\u3066JSON\u578b\u3092\u624b\u52d5\u3067\u5c55\u958b\u3059\u308b<\/li><li>\u5c55\u958b\u3057\u305fJSON\u306e\u4e2d\u306b\u518d\u5ea6JSON\u578b\u304c\u3042\u3063\u305f\u5834\u5408\u306f\u3055\u3089\u306b\u5c55\u958b\u3059\u308b<\/li><li>OPENJSON\u306eWITH\u306b\u3066\u578b\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b(\u578b\u63a8\u8ad6\u306a\u3044\u3093\u304b\u3044\u30fb\u30fb\u30fb<\/li><li>\u201dCROSS APPLY&#8221;\u3067\u5c55\u958b\u3057\u305f\u5217\u540d\u306f\u5c55\u958b\u5bfe\u8c61\u306e\u30a8\u30a4\u30ea\u30a2\u30b9\u3068\u306f\u5225\u3068\u306a\u308b<\/li><li>&#8220;CROSS APPLY&#8221;\u3057\u3066\u3082\u5c55\u958b\u5143\u306e\u30a8\u30a4\u30ea\u30a2\u30b9\u306f\u547c\u3079\u308b(\u3053\u308c\u306b\u306a\u304b\u306a\u304b\u6c17\u4ed8\u304b\u306a\u304b\u3063\u305f\u30fb\u30fb\u30fb)<\/li><\/ul>\n\n\n\n<p>\u4eca\u3069\u304d\u306eSQLServer\u3063\u3066\u3053\u3093\u306a\u611f\u3058\u3067SQL\u3092\u99c6\u4f7f\u3057\u3066\u3044\u3051\u3070JSON\u5316\u3082\u30d1\u30fc\u30b9\u3082\u3067\u304d\u308b\u3093\u3067\u3059\u306d\u3002\u3067\u3082\u697d\u306b\u306a\u3063\u305f\u6c17\u304c\u3042\u307e\u308a\u3057\u306a\u3044\u306e\u306f\u6c17\u306e\u305b\u3044\u3067\u306f\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u6b63\u76f4\u3001\u6163\u308c\u3066\u306a\u3051\u308c\u3070\u9762\u5012\u304f\u3055\u3044\u304b\u3089\u3053\u308c\u306a\u3089Dapper\u4f7f\u3046\u308f\u3063\u3066\u306e\u3082\u30a2\u30ea\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\u3042\u3068SQL\u306e\u898b\u901a\u3057\u304c\u60aa\u304f\u306a\u3063\u3066\u308b\u306e\u304c\u304b\u306a\u308a\u4fdd\u5b88\u89b3\u70b9\u3067\u30de\u30a4\u30ca\u30b9\u3002<\/p>\n\n\n\n<p>\u3067\u3059\u306e\u3067\u9593\u9055\u3063\u3066\u3082\u3053\u308c\u3089\u306e\u300cSQL\u3060\u3051\u3067REST API\u306f\u4f5c\u308c\u308b\u300d\u3068\u3044\u3046\u77e5\u8b58\u3060\u3051\u3067 \u5224\u65ad\u3057\u3066\u306f\u30c0\u30e1\u3067\u3059\u3002<br>\u300c(\u8a00\u8a9e\u540d)\u7d4c\u9a13\u25cb\u25cb\u5e74\u306e\u8981\u54e1\u304c\u30db\u30b2\u30db\u30b2\u300d\u306a\u3093\u3066\u8003\u3048\u306e\u30de\u30c8\u30e2\u306b\u30b9\u30ad\u30eb\u5224\u5b9a\u3082\u51fa\u6765\u306a\u3044\u7121\u80fd\u63c3\u3044\u306eSES\u696d\u8005\u304c\u300c\u904b\u7528\u3067SQL\u30d0\u30ea\u30d0\u30ea\u3084\u3063\u3066\u307e\u3057\u305fHAHAHA\u300d\u3068\u3044\u3046\u5b9a\u578b\u4f5c\u696d\u3057\u304b\u7d4c\u9a13\u306e\u306a\u3044\u4eba\u6750\u3092\u62bc\u3057\u8fbc\u3093\u3067\u304f\u308b\u3053\u3068\u306b\u306a\u308a\u304b\u306d\u306a\u3044\u306e\u3067\u8981\u6ce8\u610f\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u305f\u307e\u305f\u307eAzure\u306eSQL DATABASE(\u2252SQL Server)\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u8aad\u3093\u3067\u3044\u305f\u3068\u304d\u306b\u6c17\u304c\u4ed8\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u6700\u8fd1\u306eSQL Server\u3063\u3066\u30af\u30a8\u30ea\u672b\u5c3e\u306b&#8221;FOR JSON&#8221;\u3092\u4ed8\u4e0e\u3059\u308c\u3070 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"aside","meta":{"footnotes":""},"categories":[12],"tags":[33,18,35],"class_list":["post-437","post","type-post","status-publish","format-aside","hentry","category-12","tag-azure","tag-sqlserver","tag-transact-sql","post_format-post-format-aside"],"_links":{"self":[{"href":"https:\/\/yujiro.work\/blog\/index.php?rest_route=\/wp\/v2\/posts\/437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yujiro.work\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yujiro.work\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yujiro.work\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yujiro.work\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=437"}],"version-history":[{"count":3,"href":"https:\/\/yujiro.work\/blog\/index.php?rest_route=\/wp\/v2\/posts\/437\/revisions"}],"predecessor-version":[{"id":446,"href":"https:\/\/yujiro.work\/blog\/index.php?rest_route=\/wp\/v2\/posts\/437\/revisions\/446"}],"wp:attachment":[{"href":"https:\/\/yujiro.work\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yujiro.work\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=437"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yujiro.work\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}