{"id":1606,"date":"2017-07-07T11:14:59","date_gmt":"2017-07-07T03:14:59","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=1606"},"modified":"2017-07-07T11:14:59","modified_gmt":"2017-07-07T03:14:59","slug":"rejson-%e6%95%99%e7%a8%8bredis%e6%94%af%e6%8c%81json","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=1606","title":{"rendered":"ReJSON \u6559\u7a0b(Redis\u652f\u6301JSON)"},"content":{"rendered":"<p>\n\t<a href=\"https:\/\/github.com\/RedisLabsModules\/ReJSON\" name=\"ReJSON\" target=\"_blank\" title=\"ReJSON\">ReJSON<\/a> \u662f\u4e00\u4e2aRedis Module\uff0c\u5b83\u5b9e\u73b0\u4e86ECMA-404 The JSON Data Interchange Standard\u4f5c\u4e3a\u672c\u5730\u6570\u636e\u7c7b\u578b\u3002\u5b83\u5141\u8bb8\u4eceRedis Keys\uff08documents\uff09\u4e2d\u5b58\u50a8\uff0c\u66f4\u65b0\u548c\u83b7\u53d6JSON\u503c\u3002\n<\/p>\n<p>\n\tReJSON \u4e3b\u8981\u7279\u6027\uff1a\n<\/p>\n<ul>\n<li>\n\t\t\u5b8c\u5168\u652f\u6301JSON\u6807\u51c6\n\t<\/li>\n<li>\n\t\t\u5bf9\u4e8e\u5728\u6587\u6863\u5185\u9009\u62e9\u5143\u7d20\u7c7b\u4f3cJSONPath\u8bed\u6cd5\n\t<\/li>\n<li>\n\t\t\u6587\u6863\u4f5c\u4e3a\u4e8c\u8fdb\u5236\u6570\u636e\u88ab\u5b58\u50a8\u5728\u4e00\u4e2a\u6811\u5f62\u7ed3\u6784\u4e2d\uff0c\u5141\u8bb8\u5feb\u901f\u8bbf\u95ee\u5b50\u5143\u7d20\n\t<\/li>\n<li>\n\t\t\u5bf9\u6240\u6709JSON\u6570\u636e\u7c7b\u578b\u6309\u7167\u539f\u5b50\u64cd\u4f5c\u8fdb\u884c\u5206\u7c7b\n\t<\/li>\n<\/ul>\n<p>\n\tReJSON \u662f\u6709Redis Labs\u5f00\u53d1\u7684\uff0c\u6e90\u7801\u4e0b\u8f7d\u5730\u5740\u662f<a href=\"https:\/\/github.com\/RedisLabsModules\/ReJSON\" name=\"ReJSON\" target=\"_blank\" title=\"ReJSON\">https:\/\/github.com\/RedisLabsModules\/ReJSON<\/a>\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"ReJSON \u6548\u679c\u6f14\u793a\" src=\"http:\/\/img.bbs.csdn.net\/upload\/201707\/07\/1499396625_348179.gif\" style=\"width: 640px;height: 336px\" \/>\n<\/p>\n<h2>\n\t\u7f16\u8bd1Module<br \/>\n<\/h2>\n<p>\n\tLinux Ubuntu 16.04\n<\/p>\n<p>\n\t\u4f9d\u8d56\uff1a\n<\/p>\n<ul>\n<li>\n\t\tReJSON\u5e93\uff1agit clone https:\/\/github.com\/RedisLabsModules\/rejson.git\n\t<\/li>\n<li>\n\t\tbuild-essential \u5305\uff1aapt-get install build-essential\n\t<\/li>\n<\/ul>\n<p>\n\t\u4e3a\u4e86\u7f16\u8bd1\u8fd9\u4e2amodule\uff0c\u9700\u8981\u5728\u9879\u76ee\u76ee\u5f55\u4e0b\u6267\u884c make \u547d\u4ee4<br \/>\n\t\u606d\u559c\uff01\u4f60\u53ef\u4ee5\u627e\u5230\u8fd9\u4e2a\u7f16\u8bd1\u540e\u7684\u6a21\u5757\u5e93\u6587\u4ef6\u5728src\/rejson.so\u4e0b\u3002\n<\/p>\n<p>\n\tMaxOSX<br \/>\n\t\u4e3a\u4e86\u7f16\u8bd1\u8fd9\u4e2amodule\uff0c\u9700\u8981\u5728\u9879\u76ee\u76ee\u5f55\u4e0b\u6267\u884c make \u547d\u4ee4<br \/>\n\t\u606d\u559c\uff01\u4f60\u53ef\u4ee5\u627e\u5230\u8fd9\u4e2a\u7f16\u8bd1\u540e\u7684\u6a21\u5757\u5e93\u6587\u4ef6\u5728src\/rejson.so\u4e0b\u3002\n<\/p>\n<h2>\n\t\u52a0\u8f7dModule\u8fdbRedis<br \/>\n<\/h2>\n<p>\n\t\u4f9d\u8d56\uff1a\n<\/p>\n<ul>\n<li>\n\t\tRedis V4.0 \u6216\u66f4\u9ad8\u7248\u672c\n\t<\/li>\n<\/ul>\n<p>\n\t\u6211\u4eec\u63a8\u8350\u4f60\u4f7f\u7528\u4e0b\u9762\u7684\u65b9\u5f0f\u6765\u52a0\u8f7dmodule\u5230redis\uff0c\u5373\u5728\u542f\u52a8\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6dfb\u52a0\u4e0b\u9762\u7684\u4e00\u884c\u5185\u5bb9\u5230 redis.conf \u6587\u4ef6\u4e2d\uff1a<br \/>\n\tloadmodule \/path\/to\/module\/rejson.so\n<\/p>\n<p>\n\t\u7528ReJSON module \u5e93\u6587\u4ef6\u7684\u771f\u5b9e\u8def\u5f84\u66ff\u6362\u4e0a\u9762\u7684\u8fd9\u884c\/path\/to\/module\/rejson.so<br \/>\n\t\u6216\u8005\uff0c\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u547d\u4ee4\u884c\u53c2\u6570\u8bed\u6cd5\u6765\u52a0\u8f7dmodule\uff1a\n<\/p>\n<pre class=\"brush:bash;\">\r\n~\/$ redis-server --loadmodule \/path\/to\/module\/rejson.so<\/pre>\n<p>\n\t\u6700\u540e\uff0c\u4f60\u8fd8\u53ef\u4ee5\u4f7f\u7528MODULE LOAD\u547d\u4ee4\u3002\u6ce8\u610f\uff0c\u7136\u800c\uff0c\u8fd9\u4e2aMODULE LOAD\u662f\u4e00\u4e2a\u5371\u9669\u547d\u4ee4\uff0c\u5c06\u6765\u51fa\u4e8e\u5b89\u5168\u8003\u8651\u6216\u8bb8\u4f1a\u88ab\u5c01\u9501\u6216\u8005\u53d6\u6d88\u3002<br \/>\n\t\u4e00\u65e6module\u88ab\u52a0\u8f7d\u6210\u529f\uff0cRedis log\u4e2d\u5e94\u8be5\u4f1a\u51fa\u73b0\u4e0b\u9762\u7c7b\u4f3c\u7684\u884c\uff1a\n<\/p>\n<pre class=\"brush:plain;\">\r\n...\r\n1877:M 23 Dec 02:02:59.725 # &lt;ReJSON&gt; JSON data type for Redis - v1.0.0 [encver 0]\r\n1877:M 23 Dec 02:02:59.725 * Module &#039;ReJSON&#039; loaded from &lt;redacted&gt;\/src\/rejson.so\r\n...<\/pre>\n<h2>\n\t\u4f7f\u7528ReJSON<br \/>\n<\/h2>\n<p>\n\t\u5f00\u59cb\u4f7f\u7528ReJSON\u4e4b\u524d\uff0c\u4f60\u5e94\u8be5\u975e\u5e38\u719f\u6089\u5b83\u7684\u547d\u4ee4\u548c\u8bed\u6cd5\uff0c\u8be6\u7ec6\u4fe1\u606f\u53c2\u8003commands reference\u6587\u6863\u3002\u7136\u800c\uff0c\u4e3a\u4e86\u5feb\u901f\u5f00\u59cb\u4f7f\u7528\uff0c\u53ea\u9700\u8981\u770b\u672c\u6587\u5c31\u80fd\u4e86\u89e3\uff1a\n<\/p>\n<ol>\n<li>\n\t\t\u4e00\u4e2a\u8fd0\u884c\u5305\u542b\u8be5module\u7684Redis server\uff08\u770b\u7f16\u8bd1\u548c\u52a0\u8f7d\u6765\u6307\u5bfc\uff09\n\t<\/li>\n<li>\n\t\t\u4efb\u4f55Redis \u6216 ReJSON \u5ba2\u6237\u7aef\n\t<\/li>\n<\/ol>\n<h2>\n\t\u4f7f\u7528redis-cli<br \/>\n<\/h2>\n<p>\n\t\u8fd9\u4e2a\u4f8b\u5b50\u5c06\u4f7f\u7528 redis-cli \u4f5c\u4e3aRedis\u5ba2\u6237\u7aef\u3002\u7b2c\u4e00\u4e2a\u6765\u8bd5\u7528\u7684ReJSON\u547d\u4ee4\u662f JSON.SET\uff0c\u7528\u4e00\u4e2aJSON value \u8bbe\u7f6e\u4e00\u4e2a Redis key\u3002\u6240\u6709\u7684JSON values\u90fd\u80fd\u88ab\u4f7f\u7528\uff0c\u4f8b\u5982\u4e00\u4e2astring\uff1a\n<\/p>\n<pre class=\"brush:bash;\">\r\n127.0.0.1:6379&gt; JSON.SET foo . &#039;&quot;bar&quot;&#039;\r\nOK\r\n127.0.0.1:6379&gt; JSON.GET foo\r\n&quot;\\&quot;bar\\&quot;&quot;\r\n127.0.0.1:6379&gt; JSON.TYPE foo .\r\nstring<\/pre>\n<p>\n\tJSON.GET \u548c JSON.TYPE\u90fd\u80fd\u8fdb\u884c\u8fed\u4ee3\u800c\u4e0d\u7ba1values\u7684\u7c7b\u578b\uff0c\u4f46\u662f\u4f60\u771f\u7684\u5e94\u8be5\u770b\u770bJSON.GET\u7684\u7f8e\u5316\u80fd\u529b\u3002\u8bf7\u6ce8\u610f\u8fd9\u4e9b\u547d\u4ee4\u662f\u5982\u4f55\u7ed9\u51fa\u53e5\u70b9\u7b26\u53f7\u7684\uff0c\u4f8b\u5982\uff1a. \u3002\u8fd9\u662f\u5728ReJSON\u6570\u636e\u7c7b\u578b\u7684value\u7684\u8def\u5f84\uff08\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5b83\u53ea\u662f\u610f\u5473\u7740root\uff09\u3002\u4e24\u4e2a\u5b57\u7b26\u4e32\u64cd\u4f5c\uff1a\n<\/p>\n<pre class=\"brush:bash;\">\r\n127.0.0.1:6379&gt; JSON.STRLEN foo .\r\n3\r\n127.0.0.1:6379&gt; JSON.STRAPPEND foo . &#039;&quot;baz&quot;&#039;\r\n6\r\n127.0.0.1:6379&gt; JSON.GET foo\r\n&quot;\\&quot;barbaz\\&quot;&quot;<\/pre>\n<p>\n\tJSON.STRLEN\u544a\u8bc9\u4f60\u8fd9\u4e2a\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u7528JSON.STRAPPEND \u547d\u4ee4\u7ed9\u5b83\u8ffd\u52a0\u5176\u4ed6\u7684\u5b57\u7b26\u4e32\u3002\u6570\u5b57\u53ef\u4ee5\u589e\u52a0\u6216\u8005\u76f8\u4e58\uff1a\n<\/p>\n<pre class=\"brush:bash;\">\r\n127.0.0.1:6379&gt; JSON.SET num . 0\r\nOK\r\n127.0.0.1:6379&gt; JSON.NUMINCRBY num . 1\r\n&quot;1&quot;\r\n127.0.0.1:6379&gt; JSON.NUMINCRBY num . 1.5\r\n&quot;2.5&quot;\r\n127.0.0.1:6379&gt; JSON.NUMINCRBY num . -0.75\r\n&quot;1.75&quot;\r\n127.0.0.1:6379&gt; JSON.NUMMULTBY num . 24\r\n&quot;42&quot;<\/pre>\n<p>\n\t\u5f53\u7136\uff0c\u66f4\u6709\u8da3\u7684\u4f8b\u5b50\u5c06\u4f1a\u5305\u62ec\u4e00\u4e2a\u6570\u7ec4\u6216\u8005\u4e5f\u8bb8\u662f\u4e00\u4e2a\u5bf9\u8c61\uff1a\n<\/p>\n<pre class=\"brush:bash;\">\r\n127.0.0.1:6379&gt; JSON.SET amoreinterestingexample . &#039;[ true, { \"answer\": 42 }, null ]&#039;\r\nOK\r\n127.0.0.1:6379&gt; JSON.GET amoreinterestingexample\r\n&quot;[true,{\\\"answer\\\":42},null]&quot;\r\n127.0.0.1:6379&gt; JSON.GET amoreinterestingexample [1].answer\r\n&quot;42&quot;\r\n127.0.0.1:6379&gt; JSON.DEL amoreinterestingexample [-1]\r\n1\r\n127.0.0.1:6379&gt; JSON.GET amoreinterestingexample\r\n&quot;[true,{\\\"answer\\\":42}]&quot;<\/pre>\n<p>\n\t\u975e\u5e38\u65b9\u4fbf\u7684\u7528 JSON.DEL \u547d\u4ee4\u6765\u5220\u9664\u4f60\u544a\u8bc9\u5b83\u8981\u5904\u7406\u7684\u3002\u6570\u7ec4\u80fd\u591f\u88ab\u64cd\u4f5c\u7528\u4e00\u4e2a\u4e13\u7528\u7684ReJSON \u547d\u4ee4\u5b50\u96c6\uff1a\n<\/p>\n<pre class=\"brush:bash;\">\r\n127.0.0.1:6379&gt; JSON.SET arr . []\r\nOK\r\n127.0.0.1:6379&gt; JSON.ARRAPPEND arr . 0\r\n(integer) 1\r\n127.0.0.1:6379&gt; JSON.GET arr\r\n&quot;[0]&quot;\r\n127.0.0.1:6379&gt; JSON.ARRINSERT arr . 0 -2 -1\r\n(integer) 3\r\n127.0.0.1:6379&gt; JSON.GET arr\r\n&quot;[-2,-1,0]&quot;\r\n127.0.0.1:6379&gt; JSON.ARRTRIM arr . 1 1\r\n1\r\n127.0.0.1:6379&gt; JSON.GET arr\r\n&quot;[-1]&quot;\r\n127.0.0.1:6379&gt; JSON.ARRPOP arr\r\n&quot;-1&quot;\r\n127.0.0.1:6379&gt; JSON.ARRPOP arr\r\n(nil)<\/pre>\n<p>\n\t\u5bf9\u8c61\u4e5f\u6709\u5b83\u4eec\u81ea\u5df1\u7684\u547d\u4ee4\uff1a\n<\/p>\n<pre class=\"brush:bash;\">\r\n127.0.0.1:6379&gt; JSON.SET obj . &#039;{&quot;name&quot;:&quot;Leonard Cohen&quot;,&quot;lastSeen&quot;:1478476800,&quot;loggedOut&quot;: true}&#039;\r\nOK\r\n127.0.0.1:6379&gt; JSON.OBJLEN obj .\r\n(integer) 3\r\n127.0.0.1:6379&gt; JSON.OBJKEYS obj .\r\n1) &quot;name&quot;\r\n2) &quot;lastSeen&quot;\r\n3) &quot;loggedOut&quot;<\/pre>\n<h2>\n\t\u7528\u4efb\u4f55\u5176\u4ed6\u7684\u5ba2\u6237\u7aef<br \/>\n<\/h2>\n<p>\n\t\u9664\u975e\u4f60\u7684Redis \u5ba2\u6237\u7aef\u5df2\u7ecf\u652f\u6301Redis modules\uff08\u4e0d\u5927\u53ef\u80fd\uff09\u6216\u8005 \u7279\u6b8a\u7684ReJSON\u5ba2\u6237\u7aef\uff08\u66f4\u4e0d\u53ef\u80fd\uff09\uff0c\u4f60\u5e94\u8be5\u53ef\u4ee5\u4f7f\u7528\u5176\u53d1\u9001\u539f\u59cbRedis\u547d\u4ee4\u7684\u80fd\u529b\uff0c\u53d6\u51b3\u4e8e\u4f60\u9009\u62e9\u7684\u5ba2\u6237\u7aef\uff0c\u505a\u8fd9\u4ef6\u4e8b\u7684\u786e\u5207\u65b9\u6cd5\u53ef\u80fd\u4f1a\u6709\u6240\u4e0d\u540c\u3002\n<\/p>\n<p>\n\tPython \u4f8b\u5b50\uff1a\n<\/p>\n<p>\n\t\u8fd9\u4e2a\u4ee3\u7801\u7247\u6bb5\u6f14\u793a\u5982\u4f55\u4f7f\u7528redis-py \u5ba2\u6237\u7aef\u4ecePython\u4e2d\u7528\u539f\u59cbRedis \u547d\u4ee4\u5e94\u7528ReJSON\uff1a\n<\/p>\n<pre class=\"brush:python;\">\r\nimport redis\r\nimport json\r\n\r\ndata = {\r\n    &#039;foo&#039;: &#039;bar&#039;\r\n}\r\n\r\nr = redis.StrictRedis()\r\nr.execute_command(&#039;JSON.SET&#039;, &#039;doc&#039;, &#039;.&#039;, json.dumps(data))\r\nreply = json.loads(r.execute_command(&#039;JSON.GET&#039;, &#039;doc&#039;))<\/pre>\n<p>\n\t\u5ba2\u6237\u7aef\n<\/p>\n<p>\n\t\u4e00\u4e9b\u8bed\u8a00\u6709\u5ba2\u6237\u7aef\u5e93\u5bf9ReJSON\u7684\u547d\u4ee4\u63d0\u4f9b\u652f\u6301\uff1a\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"\u5ba2\u6237\u7aef\u5e93\u5bf9ReJSON\u7684\u547d\u4ee4\u63d0\u4f9b\u652f\u6301\u5217\u8868\" src=\"http:\/\/img.bbs.csdn.net\/upload\/201707\/07\/1499397141_982426.png\" style=\"width: 640px;height: 196px\" \/>\n<\/p>\n<h2>\n\t\u53c2\u8003\u8d44\u6599<br \/>\n<\/h2>\n<ul>\n<li>\n\t\t<a href=\"http:\/\/rejson.io\/#building-the-module\" name=\"ReJSON - a JSON data type for Redis\" target=\"_blank\" title=\"ReJSON - a JSON data type for Redis\">http:\/\/rejson.io\/#building-the-module<\/a>\n\t<\/li>\n<\/ul>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=1606\">ReJSON \u6559\u7a0b(Redis\u652f\u6301JSON)<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>ReJSON \u662f\u4e00\u4e2aRedis Module\uff0c\u5b83\u5b9e\u73b0\u4e86ECMA-404 The JSON Data Inter [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[69,1343,669,1342,1341],"class_list":["post-1606","post","type-post","status-publish","format-standard","hentry","category-java","category-yyzt","tag-java","tag-json","tag-redis","tag-redis-cli","tag-rejson"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1606"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1606\/revisions"}],"predecessor-version":[{"id":1607,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1606\/revisions\/1607"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}