{"id":10006902,"date":"2022-11-23T17:53:29","date_gmt":"2022-11-23T09:53:29","guid":{"rendered":"https:\/\/ityet.com\/?p=10006902"},"modified":"2022-11-23T17:53:29","modified_gmt":"2022-11-23T09:53:29","slug":"java-lua-%e7%8e%8b%e7%82%b8%ef%bc%81%ef%bc%81","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10006902","title":{"rendered":"Java + Lua = \u738b\u70b8\uff01\uff01"},"content":{"rendered":"<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc34sg\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u6211\u4eec\u5199\u4e1c\u897f\u7684\u65f6\u5019\u603b\u4f1a\u9047\u5230lua\u4e2d\u8981\u8c03\u7528java\u4ee3\u7801\uff0c\u5f53\u7136\u8fd9\u4e2a\u7528JNI\u80af\u5b9a\u662f\u53ef\u4ee5\u505a\u5230\u7684\uff0c\u4f46\u662f\u6709\u66f4\u52a0\u65b9\u4fbf\u7684\u529e\u6cd5\u2014LuaJavaBridge\u3002<\/p>\n<h2>\u4e00\u3001luaj \u4e3b\u8981\u7279\u5f81<\/h2>\n<pre><code>* \u53ef\u4ee5\u4ece Lua \u8c03\u7528 Java Class Static Method\n* \u8c03\u7528 Java \u65b9\u6cd5\u65f6\uff0c\u652f\u6301 int\/float\/boolean\/String\/Lua function \u4e94\u79cd\u53c2\u6570\u7c7b\u578b\n* \u53ef\u4ee5\u5c06 Lua function \u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9 Java\uff0c\u5e76\u8ba9 Java \u4fdd\u5b58 Lua function \u7684\u5f15\u7528\n* \u53ef\u4ee5\u4ece Java \u8c03\u7528 Lua \u7684\u5168\u5c40\u51fd\u6570\uff0c\u6216\u8005\u8c03\u7528\u5f15\u7528\u6307\u5411\u7684 Lua function<\/code><\/pre>\n<p>luaj \u7684\u529f\u80fd\u5f88\u7b80\u5355\uff0c\u4f46\u5bf9\u4e8e\u96c6\u6210\u5404\u79cd SDK \u6765\u8bf4\u5df2\u7ecf\u5b8c\u5168\u6ee1\u8db3\u9700\u6c42\u4e86\u3002<\/p>\n<h2>\u4e8c\u3001luaj \u7528\u6cd5\u793a\u4f8b<\/h2>\n<pre><code>Java \u65b9\u6cd5\u539f\u578b\n\npublic static float getNum(float n) {\nreturn n;\n}\n\nlocal className = &quot;com\/qeeplay\/frameworks\/CheShi&quot;\n\nlocal method = 'getDisplayWidth'\n\nlocal n = 10\nlocal args = {\n     n\n}\n\nlocal _, screenwidth = luaj.callStaticMethod(className, method, args)<\/code><\/pre>\n<h2>\u4e09\u3001luaj \u5b9e\u73b0\u539f\u7406<\/h2>\n<p>luaj \u7684\u6838\u5fc3\u76ee\u6807\u6709\u4e24\u4e2a\uff1a\u4ece Lua \u8c03\u7528 Java, \u4ece Java \u8c03\u7528 Lua\u3002<\/p>\n<p>\u6574\u7406\u51fa\u6765\u5c31\u662f\u5982\u4e0b\u51e0\u70b9<\/p>\n<pre><code>* \u67e5\u627e\u5e76\u8c03\u7528\u6307\u5b9a\u7684 Java \u65b9\u6cd5\n* \u68c0\u67e5\u8c03\u7528\u7ed3\u679c\uff0c\u5e76\u4ece Java \u65b9\u6cd5\u83b7\u53d6\u8fd4\u56de\u503c\n* \u5c06 Lua function \u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9 Java \u65b9\u6cd5\n* \u5728 Java \u65b9\u6cd5\u4e2d\u8c03\u7528 Lua function<\/code><\/pre>\n<p>\u63a8\u8350\u4e00\u4e2a\u5f00\u6e90\u514d\u8d39\u7684 Spring Boot \u6700\u5168\u6559\u7a0b\uff1a<\/p>\n<blockquote><p><a href=\"https:\/\/link.segmentfault.com\/?enc=%2FcEshfkOO4oa2sNSegeJcA%3D%3D.PVzg0OYldOUpaxbGQCpsnRuQ0XXpPC8rxZlUK6aejcBfZ7RjtaupjANtVM668IfQ6peTPm6pl8tbO9M%2FItKGcw%3D%3D\" rel=\"nofollow\">https:\/\/github.com\/javastacks\/spring-boot-best-practice<\/a><\/p><\/blockquote>\n<h2>\u56db\u3001\u67e5\u627e\u5e76\u8c03\u7528\u6307\u5b9a\u7684 Java \u65b9\u6cd5<\/h2>\n<p>JNI \u63d0\u4f9b\u4e86 FindClass() \u65b9\u6cd5\u7528\u4e8e\u67e5\u627e\u6307\u5b9a\u7684 Class\uff0c\u6240\u4ee5 luaj.callStaticMethod() \u7684\u7b2c\u4e00\u4e2a\u53c2\u6570\u5c31\u662f\u8981\u8c03\u7528\u7684 Java Class \u7684\u5b8c\u6574\u7c7b\u540d\u79f0\uff08\u7c7b\u540d\u79f0\u4e2d\u7684\u201c.\u201d\u8981\u66ff\u6362\u4e3a\u201c\/\u201d\uff09\u3002<\/p>\n<p>\u627e\u5230\u6307\u5b9a Class \u540e\uff0c\u5229\u7528 JNI \u7684 GetStaticMethodID() \u65b9\u6cd5\u5c31\u53ef\u4ee5\u627e\u5230\u8fd9\u4e2a\u7c7b\u7684\u6307\u5b9a\u9759\u6001\u65b9\u6cd5\uff0c\u524d\u63d0\u662f\u8981\u63d0\u4f9b\u9759\u6001\u65b9\u6cd5\u7684\u540d\u79f0\u548c\u7b7e\u540d\u3002<\/p>\n<p>\u6240\u8c13\u7b7e\u540d\uff0c\u5c31\u662f\u6307Java\u65b9\u6cd5\u7684\u53c2\u6570\u7c7b\u578b\u548c\u8fd4\u56de\u7c7b\u578b\u5b9a\u4e49\u3002\u4f8b\u5982\u524d\u9762\u793a\u4f8b\u4ee3\u7801\u4e2d GameInterface_doBilling() \u65b9\u6cd5\u7684\u7b7e\u540d\u662f (Ljava\/lang\/String;ZZI)V \u3002\u5173\u4e8e Java \u65b9\u6cd5\u7b7e\u540d\u7684\u5177\u4f53\u5b9a\u4e49\uff0c\u53ef\u4ee5\u53c2\u8003\uff1aJNI Type Signatures\u3002<\/p>\n<p>\u8fd9\u91cc\u8981\u8bf4\u7684\u662f luaj \u53ef\u4ee5\u6839\u636e\u8c03\u7528\u53c2\u6570\u81ea\u52a8\u731c\u6d4b\u65b9\u6cd5\u7b7e\u540d\u6240\u4ee5\u793a\u4f8b\u4e2d\u6211\u4eec\u5e76\u6ca1\u6709\u5199\u7b7e\u540d\uff0c\u793a\u4f8b\u4e2d\u6307\u5b9a\u53c2\u6570<\/p>\n<pre><code>local args = {n}1<\/code><\/pre>\n<p>luaj \u6839\u636e\u8fd9 \u4e2a\u53c2\u6570\uff0c\u4f1a\u6784\u9020\u51fa\u6b63\u786e\u7684\u65b9\u6cd5\u7b7e\u540d\u3002<\/p>\n<p>\u6ce8\u610f\uff0c\u8fd9\u91cc\u8981\u8bf4\u7684\u662f Lua \u91cc\u6ca1\u6709\u529e\u6cd5\u51c6\u786e\u5224\u65ad\u4e00\u4e2a\u6570\u503c\u662f\u6574\u6570\u8fd8\u662f\u6d6e\u70b9\u6570\uff0c\u6240\u4ee5 luaj \u5728\u731c\u6d4b\u65b9\u6cd5\u7b7e\u540d\u65f6\uff0c\u5047\u5b9a\u6240\u6709\u7684\u6570\u503c\u90fd\u662f\u6d6e\u70b9\u6570\u3002\u6240\u4ee5\u4e0b\u9762\u8c03\u7528\u4f1a\u62a5\u9519<\/p>\n<pre><code>public static int getNum(int n) {\n  return n;\n}\n\nlocal className = &quot;com\/qeeplay\/frameworks\/CheShi&quot;\n\nlocal method = 'getDisplayWidth'\n\nlocal n = 10\nlocal args = {\n     n\n}\n\nlocal _, screenwidth = luaj.callStaticMethod(className, method, args)<\/code><\/pre>\n<p>\u8fd9\u6837\u662f\u4e0d\u884c\u7684\uff0c\u6240\u4ee5\u8fd9\u4e2a\u65f6\u5019\u6211\u4eec\u8981\u81ea\u5df1\u5b9a\u4e49\u7b7e\u540d\uff0c\u4e0b\u9762\u7ed9\u51fa\u6b63\u786e\u7684\u793a\u4f8b<\/p>\n<pre><code>public static int getNum(int n) {\n  return n;\n}\n\nlocal className = &quot;com\/qeeplay\/frameworks\/CheShi&quot;\n\nlocal method = 'getDisplayWidth'\n\nlocal n = 10\nlocal args = {\n     n\n}\n\nlocal sig = &quot;(I)I&quot;\n\nlocal _, screenwidth = luaj.callStaticMethod(className, method, args\uff0csig)<\/code><\/pre>\n<p>\u7b7e\u540d\u4f7f\u7528\u201c(\u4f9d\u6b21\u6392\u5217\u7684\u53c2\u6570\u7c7b\u578b)\u8fd4\u56de\u503c\u7c7b\u578b\u201d\u7684\u683c\u5f0f\uff0c\u51e0\u4e2a\u4f8b\u5b50\u5982\u4e0b\uff1a<\/p>\n<pre><code>\u7b7e\u540d                                         \u89e3\u91ca\n()V                             \u53c2\u6570\uff1a\u65e0\uff0c\u8fd4\u56de\u503c\uff1a\u65e0\n(I)V                            \u53c2\u6570\uff1aint\uff0c\u8fd4\u56de\u503c\uff1a\u65e0\n(Ljava\/lang\/String;)Z           \u53c2\u6570\uff1a\u5b57\u7b26\u4e32\uff0c\u8fd4\u56de\u503c\uff1a\u5e03\u5c14\u503c\n(IF)Ljava\/lang\/String;          \u53c2\u6570\uff1a\u6574\u6570\u3001\u6d6e\u70b9\u6570\uff0c\u8fd4\u56de\u503c\uff1a\u5b57\u7b26\u4e3212345<\/code><\/pre>\n<p>\u8fd9\u91cc\u5217\u51fa\u4e0d\u540c\u7c7b\u578b\u5bf9\u5e94\u7684 Java \u7b7e\u540d\u5b57\u7b26\u4e32\uff1a<\/p>\n<pre><code>\u7c7b\u578b\u540d                 \u7c7b\u578b\nI                       \u6574\u6570\uff0c\u6216\u8005 Lua function\nF                       \u6d6e\u70b9\u6570\nZ                       \u5e03\u5c14\u503c\nLjava\/lang\/String;      \u5b57\u7b26\u4e32\nV                       Void \u7a7a\uff0c\u4ec5\u7528\u4e8e\u6307\u5b9a\u4e00\u4e2a Java \u65b9\u6cd5\u4e0d\u8fd4\u56de\u4efb\u4f55\u503c123456<\/code><\/pre>\n<p>Java \u65b9\u6cd5\u91cc\u63a5\u6536 Lua function \u7684\u53c2\u6570\u5fc5\u987b\u5b9a\u4e49\u4e3a int \u7c7b\u578b<\/p>\n<h2>\u4e94\u3001\u68c0\u67e5\u8c03\u7528\u7ed3\u679c\uff0c\u5e76\u4ece Java \u65b9\u6cd5\u83b7\u53d6\u8fd4\u56de\u503c<\/h2>\n<p>uaj \u8c03\u7528 Java \u65b9\u6cd5\u65f6\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u5404\u79cd\u9519\u8bef\uff0c\u56e0\u6b64 luaj \u63d0\u4f9b\u4e86\u4e00\u79cd\u673a\u5236\u8ba9 Lua \u8c03\u7528\u4ee3\u7801\u53ef\u4ee5\u786e\u5b9a Java \u65b9\u6cd5\u662f\u5426\u6210\u529f\u8c03\u7528\u3002<\/p>\n<p>luaj.callStaticMethod() \u4f1a\u8fd4\u56de\u4e24\u4e2a\u503c\uff1a<\/p>\n<pre><code>* \u5f53\u6210\u529f\u65f6\uff0c\u7b2c\u4e00\u4e2a\u503c\u4e3a true\uff0c\u7b2c\u4e8c\u4e2a\u503c\u662f Java \u65b9\u6cd5\u7684\u8fd4\u56de\u503c\uff08\u5982\u679c\u6709\uff09\u3002\n* \u5f53\u5931\u8d25\u65f6\uff0c\u7b2c\u4e00\u4e2a\u503c\u4e3a false\uff0c\u7b2c\u4e8c\u4e2a\u503c\u662f\u9519\u8bef\u4ee3\u7801\u3002<\/code><\/pre>\n<p>\u4e0b\u9762\u7684\u4ee3\u7801\u5c55\u793a\u4e86\u5982\u4f55\u68c0\u67e5\u8fd4\u56de\u7ed3\u679c\u548c\u83b7\u5f97\u8fd4\u56de\u503c\uff1a<\/p>\n<p>java\u4ee3\u7801<\/p>\n<pre><code>public static int AddTwoNumbers(final int number1, final int number2) {\n  return number1 + number2;\n}<\/code><\/pre>\n<p>Lua\u4ee3\u7801<\/p>\n<pre><code>local args = {2, 3}\nlocal sig = &quot;(II)I&quot;\nlocal ok, ret = luaj.callStaticMethod(className, &quot;AddTwoNumbers&quot;, args, sig)\n\nif not ok then\nprint(&quot;luaj error:&quot;, ret)\nelse\nprint(&quot;ret:&quot;, ret)\nend<\/code><\/pre>\n<p>\u9519\u8bef\u4ee3\u7801\u5b9a\u4e49\u5982\u4e0b\uff1a<\/p>\n<pre><code>\u9519\u8bef\u4ee3\u7801                            \u63cf\u8ff0\n-1                          \u4e0d\u652f\u6301\u7684\u53c2\u6570\u7c7b\u578b\u6216\u8fd4\u56de\u503c\u7c7b\u578b\n-2                          \u65e0\u6548\u7684\u7b7e\u540d\n-3                          \u6ca1\u6709\u627e\u5230\u6307\u5b9a\u7684\u65b9\u6cd5\n-4                          Java \u65b9\u6cd5\u6267\u884c\u65f6\u629b\u51fa\u4e86\u5f02\u5e38\n-5                          Java \u865a\u62df\u673a\u51fa\u9519\n-6                          Java \u865a\u62df\u673a\u51fa\u9519<\/code><\/pre>\n<h2>\u516d\u3001\u5c06 Lua function \u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9 Java \u65b9\u6cd5<\/h2>\n<p>Lua \u865a\u62df\u673a\u4e2d\uff0cLua function \u4ee5\u503c\u7684\u5f62\u5f0f\u4fdd\u5b58\u3002\u4f46\u8fd9\u4e2a\u503c\u65e0\u6cd5\u76f4\u63a5\u7ed9 Java \u7528\uff0c\u6240\u4ee5 luaj \u505a\u4e86\u4e00\u4e2a Lua function \u5f15\u7528\u8868\u3002\u5f53\u4e00\u4e2a Lua function \u4f20\u9012\u7ed9 Java \u65f6\uff0c\u8fd9\u4e2a function \u5bf9\u5e94\u7684\u503c\u4f1a\u88ab\u5b58\u5728\u5f15\u7528\u8868\u4e2d\uff0c\u5e76\u83b7\u5f97\u4e00\u4e2a\u552f\u4e00\u7684\u5f15\u7528 ID \uff08\u6574\u6570\uff09\u3002Java \u4ee3\u7801\u62ff\u5230\u8fd9\u4e2a\u5f15\u7528 ID \u540e\uff0c\u5c31\u53ef\u4ee5\u5f88\u65b9\u4fbf\u7684\u8c03\u7528\u8be5 Lua function \u4e86\u3002<\/p>\n<p>\u6240\u4ee5Java \u65b9\u6cd5\u91cc\u63a5\u6536 Lua function \u7684\u53c2\u6570\u5fc5\u987b\u5b9a\u4e49\u4e3a int \u7c7b\u578b\uff0c\u793a\u4f8b\uff1a<\/p>\n<pre><code>public static int getNum(int n) {\n  return n;\n}\nlocal function callback(result)\n\nend\n\nlocal className = &quot;com\/qeeplay\/frameworks\/CheShi&quot;\n\nlocal method = 'getDisplayWidth'\n\nlocal args = {\n     callback\n}\n\nlocal sig = &quot;(I)I&quot;\n\nlocal _, screenwidth = luaj.callStaticMethod(className, method, args\uff0csig)<\/code><\/pre>\n<p>\u7248\u6743\u58f0\u660e\uff1a\u672c\u6587\u4e3aCSDN\u535a\u4e3b\u300cVincent__Lee\u300d\u7684\u539f\u521b\u6587\u7ae0\uff0c\u9075\u5faaCC 4.0 BY-SA\u7248\u6743\u534f\u8bae\uff0c\u8f6c\u8f7d\u8bf7\u9644\u4e0a\u539f\u6587\u51fa\u5904\u94fe\u63a5\u53ca\u672c\u58f0\u660e\u3002\u539f\u6587\u94fe\u63a5\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=KQcrR4QbzEd7zKNDG9HA6A%3D%3D.dmWvAWK6DCwlywa5ZbvfHJDqBlXZNaZReWsBIRLhSPo2ACRYHzw81JZ8hfvpeGuk%2Fy0mWPUwTktI67fJggGo3w%3D%3D\" rel=\"nofollow\">https:\/\/blog.csdn.net\/li15225&#8230;<\/a><\/p>\n<p><strong>\u8fd1\u671f\u70ed\u6587\u63a8\u8350\uff1a<\/strong><\/p>\n<p>1.<a href=\"https:\/\/link.segmentfault.com\/?enc=yn1GD6nMxOgOv5vAL4aY4g%3D%3D.n%2BsjKZWWLnYbK0k7GmOt5s2o1gxIGvr%2BjP0537heKFo%3D\" rel=\"nofollow\">1,000+ \u9053 Java\u9762\u8bd5\u9898\u53ca\u7b54\u6848\u6574\u7406(2022\u6700\u65b0\u7248)<\/a><\/p>\n<p>2.<a href=\"https:\/\/link.segmentfault.com\/?enc=FMT4I3ixGkZ6H4mLgP1GbA%3D%3D.%2FcaSVquoatl%2BD8r0FfhLw4tO6v2v6tRuLQUUPNsm98pEHR6Nm5R6UU3mrVG5gRtLvYud3v7zMhlGzr3nLOrKfw%3D%3D\" rel=\"nofollow\">\u52b2\u7206\uff01Java \u534f\u7a0b\u8981\u6765\u4e86\u3002\u3002\u3002<\/a><\/p>\n<p>3.<a href=\"https:\/\/link.segmentfault.com\/?enc=wOgyUy7LAwby7LVOLpnIIw%3D%3D.OZHUsxOoK9xoxyBwsxzNnsa4pADyRW4jO4c6CUo3D5QOdYq3o5vTVzTGurcr5Fve\" rel=\"nofollow\">Spring Boot 2.x \u6559\u7a0b\uff0c\u592a\u5168\u4e86\uff01<\/a><\/p>\n<p>4.<a href=\"https:\/\/link.segmentfault.com\/?enc=dAvApduiWjUje1dzh89z%2Bw%3D%3D.hdRRrMcRAaF9OFfsvv8D5sajTqI0XNr0aXBYoV3ehw0VzMtPGFULRWOVsPypyhZT3KBog62GLvtKGcUIPHgnnA%3D%3D\" rel=\"nofollow\">\u522b\u518d\u5199\u6ee1\u5c4f\u7684\u7206\u7206\u7206\u70b8\u7c7b\u4e86\uff0c\u8bd5\u8bd5\u88c5\u9970\u5668\u6a21\u5f0f\uff0c\u8fd9\u624d\u662f\u4f18\u96c5\u7684\u65b9\u5f0f\uff01\uff01<\/a><\/p>\n<p>5.<a href=\"https:\/\/link.segmentfault.com\/?enc=EkozpWoWsFaYjTDuMxwmVQ%3D%3D.oHR2FHw7wYPFS1MUXbym%2F9MPFLC2XGO4yS7amJOJPuJ5alR1pUTooy8Ujy5EJmjSO1dFa5ewLivHvmrkfTrKnail7dHwWSB40305OcRiHjM%3D\" rel=\"nofollow\">\u300aJava\u5f00\u53d1\u624b\u518c\uff08\u5d69\u5c71\u7248\uff09\u300b\u6700\u65b0\u53d1\u5e03\uff0c\u901f\u901f\u4e0b\u8f7d\uff01<\/a><\/p>\n<p>\u89c9\u5f97\u4e0d\u9519\uff0c\u522b\u5fd8\u4e86\u968f\u624b\u70b9\u8d5e+\u8f6c\u53d1\u54e6\uff01<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000042877103\">https:\/\/segmentfault.com\/a\/1190000042877103<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u4eec\u5199\u4e1c\u897f\u7684\u65f6\u5019\u603b\u4f1a\u9047\u5230lua\u4e2d\u8981\u8c03\u7528java\u4ee3\u7801\uff0c\u5f53\u7136\u8fd9\u4e2a\u7528JNI\u80af\u5b9a\u662f\u53ef\u4ee5\u505a\u5230\u7684\uff0c\u4f46\u662f\u6709\u66f4\u52a0\u65b9\u4fbf\u7684\u529e\u6cd5\u2014L [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10006902","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006902","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10006902"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006902\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10006902"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10006902"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10006902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}