{"id":2220,"date":"2025-03-02T10:41:48","date_gmt":"2025-03-02T02:41:48","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=2220"},"modified":"2025-03-02T10:41:48","modified_gmt":"2025-03-02T02:41:48","slug":"java-%e6%b5%81stream%e3%80%81%e6%96%87%e4%bb%b6file%e5%92%8cio","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2025\/03\/02\/java-%e6%b5%81stream%e3%80%81%e6%96%87%e4%bb%b6file%e5%92%8cio\/","title":{"rendered":"Java \u6d41(Stream)\u3001\u6587\u4ef6(File)\u548cIO"},"content":{"rendered":"\n<p>\u5728 Java \u4e2d\uff0c<strong>\u6d41\uff08Stream\uff09<\/strong>\u3001<strong>\u6587\u4ef6\uff08File\uff09<\/strong> \u548c <strong>\u8f93\u5165\u8f93\u51fa\uff08IO\uff09<\/strong> \u662f\u5904\u7406\u6570\u636e\u4f20\u8f93\u3001\u6587\u4ef6\u8bfb\u5199\u548c\u6d41\u5f0f\u6570\u636e\u5904\u7406\u7684\u6838\u5fc3\u6982\u5ff5\u3002Java \u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684 API \u6765\u5b9e\u73b0\u8fd9\u4e9b\u64cd\u4f5c\uff0c\u5305\u62ec <code>java.io<\/code> \u548c <code>java.nio<\/code> \u5305\u4e2d\u7684\u7c7b\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. Java \u6d41\uff08Stream\uff09<\/strong><\/h3>\n\n\n\n<p>\u6d41\uff08Stream\uff09\u662f\u7528\u4e8e\u8bfb\u53d6\u6216\u5199\u5165\u6570\u636e\u7684\u62bd\u8c61\u6982\u5ff5\u3002\u5728 Java \u4e2d\uff0c\u6d41\u53ef\u4ee5\u5206\u4e3a\u4e24\u79cd\u7c7b\u578b\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u8f93\u5165\u6d41<\/strong>\uff1a\u7528\u4e8e\u4ece\u6570\u636e\u6e90\uff08\u5982\u6587\u4ef6\u3001\u5185\u5b58\u3001\u7f51\u7edc\u8fde\u63a5\u7b49\uff09\u8bfb\u53d6\u6570\u636e\u3002<\/li>\n\n\n\n<li><strong>\u8f93\u51fa\u6d41<\/strong>\uff1a\u7528\u4e8e\u5c06\u6570\u636e\u5199\u5165\u76ee\u6807\u4f4d\u7f6e\uff08\u5982\u6587\u4ef6\u3001\u5185\u5b58\u3001\u7f51\u7edc\u8fde\u63a5\u7b49\uff09\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>1.1 \u8f93\u5165\u6d41\u548c\u8f93\u51fa\u6d41\u7684\u533a\u522b<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u8f93\u5165\u6d41<\/strong>\uff1a\u6570\u636e\u4ece\u5916\u90e8\u4f20\u5165\u7a0b\u5e8f\uff0c\u901a\u5e38\u7ee7\u627f\u81ea <code>InputStream<\/code>\uff08\u5b57\u8282\u6d41\uff09\u548c <code>Reader<\/code>\uff08\u5b57\u7b26\u6d41\uff09\u3002<\/li>\n\n\n\n<li><strong>\u8f93\u51fa\u6d41<\/strong>\uff1a\u6570\u636e\u4ece\u7a0b\u5e8f\u4f20\u51fa\u5230\u5916\u90e8\uff0c\u901a\u5e38\u7ee7\u627f\u81ea <code>OutputStream<\/code>\uff08\u5b57\u8282\u6d41\uff09\u548c <code>Writer<\/code>\uff08\u5b57\u7b26\u6d41\uff09\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>1.2 \u5b57\u8282\u6d41\u4e0e\u5b57\u7b26\u6d41<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5b57\u8282\u6d41<\/strong>\uff1a\u7528\u4e8e\u5904\u7406\u6240\u6709\u7c7b\u578b\u7684I\/O\u64cd\u4f5c\uff0c\u5305\u62ec\u6587\u672c\u6587\u4ef6\u548c\u4e8c\u8fdb\u5236\u6587\u4ef6\u3002\u5b83\u4eec\u7ee7\u627f\u81ea <code>InputStream<\/code> \u548c <code>OutputStream<\/code>\u3002<\/li>\n\n\n\n<li>\u4f8b\u5982\uff1a<code>FileInputStream<\/code>, <code>FileOutputStream<\/code><\/li>\n\n\n\n<li><strong>\u5b57\u7b26\u6d41<\/strong>\uff1a\u4e13\u95e8\u7528\u4e8e\u5904\u7406\u5b57\u7b26\u6570\u636e\uff0c\u901a\u5e38\u4e0e\u5b57\u8282\u6d41\u76f8\u6bd4\uff0c\u5b83\u4eec\u81ea\u52a8\u5904\u7406\u5b57\u7b26\u7f16\u7801\u3002\u5b83\u4eec\u7ee7\u627f\u81ea <code>Reader<\/code> \u548c <code>Writer<\/code>\u3002<\/li>\n\n\n\n<li>\u4f8b\u5982\uff1a<code>FileReader<\/code>, <code>FileWriter<\/code><\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>1.3 \u5e38\u89c1\u6d41\u7c7b<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>FileInputStream<\/strong>\uff1a\u5b57\u8282\u8f93\u5165\u6d41\uff0c\u7528\u4e8e\u8bfb\u53d6\u6587\u4ef6\u6570\u636e\u3002<\/li>\n\n\n\n<li><strong>FileOutputStream<\/strong>\uff1a\u5b57\u8282\u8f93\u51fa\u6d41\uff0c\u7528\u4e8e\u5199\u5165\u6587\u4ef6\u6570\u636e\u3002<\/li>\n\n\n\n<li><strong>BufferedInputStream<\/strong>\uff1a\u5e26\u7f13\u51b2\u533a\u7684\u5b57\u8282\u8f93\u5165\u6d41\uff0c\u63d0\u9ad8\u8bfb\u6027\u80fd\u3002<\/li>\n\n\n\n<li><strong>BufferedOutputStream<\/strong>\uff1a\u5e26\u7f13\u51b2\u533a\u7684\u5b57\u8282\u8f93\u51fa\u6d41\uff0c\u63d0\u9ad8\u5199\u6027\u80fd\u3002<\/li>\n\n\n\n<li><strong>FileReader<\/strong>\uff1a\u5b57\u7b26\u8f93\u5165\u6d41\uff0c\u7528\u4e8e\u8bfb\u53d6\u6587\u672c\u6587\u4ef6\u6570\u636e\u3002<\/li>\n\n\n\n<li><strong>FileWriter<\/strong>\uff1a\u5b57\u7b26\u8f93\u51fa\u6d41\uff0c\u7528\u4e8e\u5199\u5165\u6587\u672c\u6587\u4ef6\u6570\u636e\u3002<\/li>\n\n\n\n<li><strong>BufferedReader<\/strong>\uff1a\u5e26\u7f13\u51b2\u533a\u7684\u5b57\u7b26\u8f93\u5165\u6d41\u3002<\/li>\n\n\n\n<li><strong>BufferedWriter<\/strong>\uff1a\u5e26\u7f13\u51b2\u533a\u7684\u5b57\u7b26\u8f93\u51fa\u6d41\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>1.4 \u793a\u4f8b\uff1a\u5b57\u8282\u6d41\u4e0e\u5b57\u7b26\u6d41<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>import java.io.*;\n\npublic class StreamExample {\n    public static void main(String&#91;] args) throws IOException {\n        \/\/ \u5b57\u8282\u6d41\u793a\u4f8b\n        FileInputStream fis = new FileInputStream(\"example.txt\");\n        FileOutputStream fos = new FileOutputStream(\"output.txt\");\n\n        int data;\n        while ((data = fis.read()) != -1) {\n            fos.write(data);\n        }\n\n        fis.close();\n        fos.close();\n\n        \/\/ \u5b57\u7b26\u6d41\u793a\u4f8b\n        FileReader fr = new FileReader(\"example.txt\");\n        FileWriter fw = new FileWriter(\"output.txt\");\n\n        int charData;\n        while ((charData = fr.read()) != -1) {\n            fw.write(charData);\n        }\n\n        fr.close();\n        fw.close();\n    }\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. Java \u6587\u4ef6\uff08File\uff09<\/strong><\/h3>\n\n\n\n<p><code>File<\/code> \u7c7b\u63d0\u4f9b\u4e86\u5bf9\u6587\u4ef6\u548c\u76ee\u5f55\u7684\u64cd\u4f5c\u3002\u5b83\u7528\u4e8e\u68c0\u67e5\u6587\u4ef6\u7684\u5b58\u5728\u6027\u3001\u6587\u4ef6\u7684\u5927\u5c0f\u3001\u6587\u4ef6\u7684\u8def\u5f84\u7b49\u57fa\u672c\u64cd\u4f5c\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>2.1 File \u7c7b\u5e38\u7528\u65b9\u6cd5<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u521b\u5efa\u6587\u4ef6<\/strong>\uff1a<code>createNewFile()<\/code><\/li>\n\n\n\n<li><strong>\u68c0\u67e5\u6587\u4ef6\u662f\u5426\u5b58\u5728<\/strong>\uff1a<code>exists()<\/code><\/li>\n\n\n\n<li><strong>\u5220\u9664\u6587\u4ef6<\/strong>\uff1a<code>delete()<\/code><\/li>\n\n\n\n<li><strong>\u83b7\u53d6\u6587\u4ef6\u8def\u5f84<\/strong>\uff1a<code>getPath()<\/code><\/li>\n\n\n\n<li><strong>\u83b7\u53d6\u6587\u4ef6\u5927\u5c0f<\/strong>\uff1a<code>length()<\/code><\/li>\n\n\n\n<li><strong>\u5217\u51fa\u76ee\u5f55\u5185\u5bb9<\/strong>\uff1a<code>list()<\/code><\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>2.2 \u793a\u4f8b\uff1a\u6587\u4ef6\u64cd\u4f5c<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>import java.io.File;\nimport java.io.IOException;\n\npublic class FileExample {\n    public static void main(String&#91;] args) throws IOException {\n        File file = new File(\"example.txt\");\n\n        \/\/ \u68c0\u67e5\u6587\u4ef6\u662f\u5426\u5b58\u5728\n        if (!file.exists()) {\n            \/\/ \u521b\u5efa\u6587\u4ef6\n            file.createNewFile();\n            System.out.println(\"File created: \" + file.getName());\n        } else {\n            System.out.println(\"File already exists\");\n        }\n\n        \/\/ \u83b7\u53d6\u6587\u4ef6\u8def\u5f84\u548c\u5927\u5c0f\n        System.out.println(\"File path: \" + file.getPath());\n        System.out.println(\"File size: \" + file.length() + \" bytes\");\n\n        \/\/ \u5220\u9664\u6587\u4ef6\n        if (file.delete()) {\n            System.out.println(\"File deleted\");\n        } else {\n            System.out.println(\"File deletion failed\");\n        }\n    }\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. Java \u8f93\u5165\u8f93\u51fa\uff08IO\uff09<\/strong><\/h3>\n\n\n\n<p>Java \u7684 I\/O \u5e93\u662f\u57fa\u4e8e\u6d41\u7684\uff0c\u63d0\u4f9b\u4e86\u975e\u5e38\u7075\u6d3b\u7684\u65b9\u5f0f\u6765\u5904\u7406\u8f93\u5165\u8f93\u51fa\u64cd\u4f5c\u3002<code>java.io<\/code> \u5305\u5305\u542b\u4e86\u8bb8\u591a\u7c7b\uff0c\u5e2e\u52a9\u5f00\u53d1\u4eba\u5458\u6267\u884c\u8f93\u5165\u8f93\u51fa\u64cd\u4f5c\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>3.1 \u5b57\u8282\u6d41\u4e0e\u5b57\u7b26\u6d41\u7684\u533a\u522b<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5b57\u8282\u6d41<\/strong>\uff1a\u7528\u4e8e\u5904\u7406\u6240\u6709\u7c7b\u578b\u7684\u6570\u636e\uff08\u5982\u56fe\u7247\u3001\u97f3\u9891\u6587\u4ef6\u7b49\uff09\uff0c<code>InputStream<\/code> \u548c <code>OutputStream<\/code> \u4e3a\u7236\u7c7b\u3002<\/li>\n\n\n\n<li><strong>\u5b57\u7b26\u6d41<\/strong>\uff1a\u7528\u4e8e\u5904\u7406\u6587\u672c\u6570\u636e\uff0c\u5b83\u4eec\u901a\u8fc7\u7f16\u7801\u8f6c\u6362\u6765\u5904\u7406\u5b57\u7b26\u3002<code>Reader<\/code> \u548c <code>Writer<\/code> \u4e3a\u7236\u7c7b\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>3.2 \u6587\u4ef6\u8bfb\u53d6\u4e0e\u5199\u5165<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5b57\u8282\u6d41\u8bfb\u5199\u6587\u4ef6<\/strong>\uff1a<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>import java.io.FileInputStream;\nimport java.io.FileOutputStream;\nimport java.io.IOException;\n\npublic class ByteStreamExample {\n    public static void main(String&#91;] args) throws IOException {\n        \/\/ \u5199\u5165\u6587\u4ef6\n        FileOutputStream fos = new FileOutputStream(\"byteExample.txt\");\n        fos.write(\"Hello, Byte Stream!\".getBytes());\n        fos.close();\n\n        \/\/ \u8bfb\u53d6\u6587\u4ef6\n        FileInputStream fis = new FileInputStream(\"byteExample.txt\");\n        int data;\n        while ((data = fis.read()) != -1) {\n            System.out.print((char) data);\n        }\n        fis.close();\n    }\n}<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5b57\u7b26\u6d41\u8bfb\u5199\u6587\u4ef6<\/strong>\uff1a<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>import java.io.FileReader;\nimport java.io.FileWriter;\nimport java.io.IOException;\n\npublic class CharStreamExample {\n    public static void main(String&#91;] args) throws IOException {\n        \/\/ \u5199\u5165\u6587\u4ef6\n        FileWriter fw = new FileWriter(\"charExample.txt\");\n        fw.write(\"Hello, Char Stream!\");\n        fw.close();\n\n        \/\/ \u8bfb\u53d6\u6587\u4ef6\n        FileReader fr = new FileReader(\"charExample.txt\");\n        int data;\n        while ((data = fr.read()) != -1) {\n            System.out.print((char) data);\n        }\n        fr.close();\n    }\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4. Java NIO\uff08New IO\uff09<\/strong><\/h3>\n\n\n\n<p>Java NIO\uff08New IO\uff09\u662f Java 1.4 \u5f15\u5165\u7684 API\uff0c\u63d0\u4f9b\u4e86\u975e\u963b\u585e\u5f0f IO \u64cd\u4f5c\u3001\u6587\u4ef6\u64cd\u4f5c\u3001\u7f13\u51b2\u533a\u548c\u901a\u9053\u7684\u652f\u6301\u3002\u76f8\u6bd4\u4f20\u7edf\u7684 Java IO\uff0cNIO \u63d0\u4f9b\u4e86\u66f4\u9ad8\u6548\u7684\u6587\u4ef6\u548c\u7f51\u7edc\u64cd\u4f5c\uff0c\u5c24\u5176\u9002\u7528\u4e8e\u9ad8\u5e76\u53d1\u3001\u5927\u89c4\u6a21\u6570\u636e\u4f20\u8f93\u573a\u666f\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>4.1 NIO \u901a\u9053\u548c\u7f13\u51b2\u533a<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u901a\u9053\uff08Channel\uff09<\/strong>\uff1a\u901a\u9053\u662f\u4e00\u4e2a\u53cc\u5411\u6570\u636e\u6d41\u7684\u63a5\u53e3\uff0c\u65e2\u53ef\u4ee5\u8bfb\u53d6\u6570\u636e\uff0c\u4e5f\u53ef\u4ee5\u5199\u5165\u6570\u636e\u3002<\/li>\n\n\n\n<li>\u4f8b\u5982\uff1a<code>FileChannel<\/code>, <code>SocketChannel<\/code><\/li>\n\n\n\n<li><strong>\u7f13\u51b2\u533a\uff08Buffer\uff09<\/strong>\uff1a\u7f13\u51b2\u533a\u7528\u4e8e\u5b58\u50a8\u6570\u636e\uff0c\u6240\u6709\u6570\u636e\u90fd\u901a\u8fc7\u7f13\u51b2\u533a\u4f20\u8f93\u3002<\/li>\n\n\n\n<li>\u4f8b\u5982\uff1a<code>ByteBuffer<\/code>, <code>CharBuffer<\/code><\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>4.2 \u793a\u4f8b\uff1aNIO \u6587\u4ef6\u64cd\u4f5c<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>import java.nio.file.*;\nimport java.io.IOException;\n\npublic class NIOExample {\n    public static void main(String&#91;] args) throws IOException {\n        Path path = Paths.get(\"nioExample.txt\");\n\n        \/\/ \u5199\u5165\u6587\u4ef6\n        Files.write(path, \"Hello, NIO!\".getBytes());\n\n        \/\/ \u8bfb\u53d6\u6587\u4ef6\n        byte&#91;] bytes = Files.readAllBytes(path);\n        System.out.println(new String(bytes));\n    }\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u603b\u7ed3<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Java \u6d41<\/strong>\uff08Stream\uff09\u5305\u62ec\u5b57\u8282\u6d41\uff08<code>InputStream<\/code>, <code>OutputStream<\/code>\uff09\u548c\u5b57\u7b26\u6d41\uff08<code>Reader<\/code>, <code>Writer<\/code>\uff09\uff0c\u7528\u4e8e\u8bfb\u53d6\u548c\u5199\u5165\u6570\u636e\u3002<\/li>\n\n\n\n<li><strong>\u6587\u4ef6\u64cd\u4f5c<\/strong>\uff08File\uff09\u7528\u4e8e\u68c0\u67e5\u3001\u521b\u5efa\u3001\u5220\u9664\u6587\u4ef6\uff0c\u5e76\u83b7\u53d6\u6587\u4ef6\u7684\u8def\u5f84\u548c\u5927\u5c0f\u3002<\/li>\n\n\n\n<li><strong>Java IO<\/strong>\uff08\u8f93\u5165\u8f93\u51fa\uff09\u63d0\u4f9b\u4e86\u7528\u4e8e\u6587\u4ef6\u3001\u7f51\u7edc\u548c\u5185\u5b58\u64cd\u4f5c\u7684\u63a5\u53e3\u4e0e\u7c7b\u3002<\/li>\n\n\n\n<li><strong>Java NIO<\/strong> \u63d0\u4f9b\u4e86\u66f4\u9ad8\u6548\u7684\u975e\u963b\u585e I\/O \u64cd\u4f5c\uff0c\u9002\u7528\u4e8e\u9ad8\u6027\u80fd\u7684 I\/O \u4efb\u52a1\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u901a\u8fc7\u638c\u63e1\u8fd9\u4e9b\u57fa\u672c\u7684\u6d41\u3001\u6587\u4ef6\u548c IO \u64cd\u4f5c\uff0c\u60a8\u53ef\u4ee5\u9ad8\u6548\u5730\u8fdb\u884c\u6587\u4ef6\u5904\u7406\u548c\u6570\u636e\u4f20\u8f93\u3002\u66f4\u591a\u8be6\u7ec6\u5185\u5bb9\u8bf7\u5173\u6ce8\u5176\u4ed6\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 Java \u4e2d\uff0c\u6d41\uff08Stream\uff09\u3001\u6587\u4ef6\uff08File\uff09 \u548c \u8f93\u5165\u8f93\u51fa\uff08IO\uff09 \u662f\u5904\u7406\u6570\u636e\u4f20\u8f93\u3001\u6587\u4ef6\u8bfb\u5199\u548c\u6d41\u5f0f\u6570 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[68],"tags":[],"class_list":["post-2220","post","type-post","status-publish","format-standard","hentry","category-java"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/comments?post=2220"}],"version-history":[{"count":1,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2220\/revisions"}],"predecessor-version":[{"id":2221,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2220\/revisions\/2221"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=2220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=2220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=2220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}