{"id":6391,"date":"2024-07-23T17:20:35","date_gmt":"2024-07-23T09:20:35","guid":{"rendered":"https:\/\/t.n-years.com\/?p=6391"},"modified":"2024-07-23T17:20:35","modified_gmt":"2024-07-23T09:20:35","slug":"springboot-%e4%b8%bb%e8%a6%81%e6%a6%82%e5%bf%b5%e3%80%81%e8%ae%be%e8%ae%a1%e7%90%86%e5%bf%b5%e3%80%81%e5%85%b3%e9%94%ae%e6%8a%80%e6%9c%af","status":"publish","type":"post","link":"https:\/\/t.n-years.com\/?p=6391","title":{"rendered":"SpringBoot \u4e3b\u8981\u6982\u5ff5\u3001\u8bbe\u8ba1\u7406\u5ff5\u3001\u5173\u952e\u6280\u672f"},"content":{"rendered":"<blockquote>\n<p>\u975e\u539f\u521b\u3001ChatGPT \u95ee\u7b54\u751f\u6210\uff0c\u4e0e\u9762\u8bd5\u540c\u5b66\u6c9f\u901a\u7528<\/p>\n<\/blockquote>\n<p>Spring Boot \u662f\u4e00\u4e2a\u57fa\u4e8e Spring \u6846\u67b6\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u65e8\u5728\u7b80\u5316\u65b0 Spring \u5e94\u7528\u7684\u521d\u59cb\u642d\u5efa\u548c\u5f00\u53d1\u8fc7\u7a0b\u3002\u5b83\u901a\u8fc7\u63d0\u4f9b\u9ed8\u8ba4\u914d\u7f6e\u548c\u4e00\u7cfb\u5217\u7b80\u5316\u5de5\u5177\uff0c\u8ba9\u5f00\u53d1\u8005\u53ef\u4ee5\u66f4\u5feb\u901f\u3001\u66f4\u4fbf\u6377\u5730\u521b\u5efa\u72ec\u7acb\u8fd0\u884c\u7684\u3001\u57fa\u4e8e\u751f\u4ea7\u7ea7\u522b\u7684 Spring \u5e94\u7528\u3002\u4ee5\u4e0b\u662f Spring Boot \u7684\u4e00\u4e9b\u4e3b\u8981\u6982\u5ff5\u548c\u8bbe\u8ba1\u7406\u5ff5\uff1a<\/p>\n<h3>\u4e3b\u8981\u6982\u5ff5<\/h3>\n<ol>\n<li>\n<p><strong>\u81ea\u52a8\u914d\u7f6e\uff08Auto-Configuration\uff09<\/strong>\uff1a<br \/>\nSpring Boot \u7684\u6838\u5fc3\u7279\u6027\u4e4b\u4e00\u662f\u81ea\u52a8\u914d\u7f6e\u3002\u5b83\u80fd\u591f\u6839\u636e\u9879\u76ee\u4e2d\u7684\u4f9d\u8d56\u548c\u7c7b\u8def\u5f84\u4e2d\u7684\u5b58\u5728\u60c5\u51b5\uff0c\u81ea\u52a8\u914d\u7f6e Spring \u5e94\u7528\u3002\u8fd9\u6837\u5f00\u53d1\u8005\u65e0\u9700\u624b\u52a8\u7f16\u5199\u5927\u91cf\u7684\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u8d77\u6b65\u4f9d\u8d56\uff08Starter Dependencies\uff09<\/strong>\uff1a<br \/>\nSpring Boot \u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u8d77\u6b65\u4f9d\u8d56\uff08Starter\uff09\uff0c\u8fd9\u4e9b\u4f9d\u8d56\u96c6\u6210\u4e86\u5e38\u7528\u7684\u5e93\u548c\u529f\u80fd\uff0c\u4f8b\u5982 <code>spring-boot-starter-web<\/code>\u3001<code>spring-boot-starter-data-jpa<\/code> \u7b49\u3002\u8fd9\u4e9b\u8d77\u6b65\u4f9d\u8d56\u8ba9\u5f00\u53d1\u8005\u53ef\u4ee5\u65b9\u4fbf\u5730\u5f15\u5165\u6240\u9700\u529f\u80fd\u800c\u4e0d\u5fc5\u9010\u4e2a\u6dfb\u52a0\u4f9d\u8d56\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u72ec\u7acb\u8fd0\u884c\uff08Standalone Applications\uff09<\/strong>\uff1a<br \/>\nSpring Boot \u5e94\u7528\u53ef\u4ee5\u6253\u5305\u6210\u4e00\u4e2a\u53ef\u6267\u884c\u7684 JAR \u6587\u4ef6\uff0c\u5176\u4e2d\u5d4c\u5165\u4e86\u4e00\u4e2a Web \u670d\u52a1\u5668\uff08\u4f8b\u5982 Tomcat\u3001Jetty\uff09\u3002\u8fd9\u6837\u5e94\u7528\u53ef\u4ee5\u72ec\u7acb\u8fd0\u884c\uff0c\u65e0\u9700\u5916\u90e8\u5e94\u7528\u670d\u52a1\u5668\u3002<\/p>\n<\/li>\n<li>\n<p><strong>Spring Boot CLI<\/strong>\uff1a<br \/>\nSpring Boot \u63d0\u4f9b\u4e86\u4e00\u4e2a\u547d\u4ee4\u884c\u5de5\u5177\uff08CLI\uff09\uff0c\u5141\u8bb8\u5f00\u53d1\u8005\u7528 Groovy \u811a\u672c\u5feb\u901f\u6784\u5efa Spring \u5e94\u7528\u3002CLI \u5bf9\u4e8e\u5feb\u901f\u539f\u578b\u5f00\u53d1\u548c\u8bd5\u9a8c\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/li>\n<li>\n<p><strong>Spring Boot Actuator<\/strong>\uff1a<br \/>\nActuator \u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u7279\u6027\uff0c\u7528\u4e8e\u76d1\u63a7\u548c\u7ba1\u7406 Spring Boot \u5e94\u7528\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u7aef\u70b9\uff0c\u4f9b\u5f00\u53d1\u8005\u67e5\u770b\u5e94\u7528\u7684\u5065\u5eb7\u72b6\u51b5\u3001\u6307\u6807\u3001\u4fe1\u606f\u7b49\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5916\u90e8\u5316\u914d\u7f6e\uff08Externalized Configuration\uff09<\/strong>\uff1a<br \/>\nSpring Boot \u652f\u6301\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\uff08\u5982\u5c5e\u6027\u6587\u4ef6\u3001YAML \u6587\u4ef6\u3001\u73af\u5883\u53d8\u91cf\u3001\u547d\u4ee4\u884c\u53c2\u6570\uff09\u5916\u90e8\u5316\u914d\u7f6e\u3002\u8fd9\u6837\u53ef\u4ee5\u8ba9\u5e94\u7528\u7684\u914d\u7f6e\u66f4\u7075\u6d3b\u4e14\u6613\u4e8e\u7ba1\u7406\u3002<\/p>\n<\/li>\n<\/ol>\n<h3>\u8bbe\u8ba1\u7406\u5ff5<\/h3>\n<ol>\n<li>\n<p><strong>\u7b80\u5316\u914d\u7f6e\uff08Convention over Configuration\uff09<\/strong>\uff1a<br \/>\nSpring Boot \u901a\u8fc7\u7ea6\u5b9a\u4f18\u4e8e\u914d\u7f6e\u7684\u7406\u5ff5\uff0c\u51cf\u5c11\u4e86\u5f00\u53d1\u8005\u9700\u8981\u7f16\u5199\u7684\u914d\u7f6e\u4ee3\u7801\u91cf\u3002\u5b83\u4e3a\u5e38\u89c1\u7684\u573a\u666f\u63d0\u4f9b\u5408\u7406\u7684\u9ed8\u8ba4\u914d\u7f6e\uff0c\u4f46\u5141\u8bb8\u5f00\u53d1\u8005\u6839\u636e\u9700\u8981\u8fdb\u884c\u8986\u76d6\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5feb\u901f\u542f\u52a8\uff08Rapid Application Development\uff09<\/strong>\uff1a<br \/>\nSpring Boot \u7684\u76ee\u6807\u4e4b\u4e00\u662f\u52a0\u901f\u5e94\u7528\u7684\u5f00\u53d1\u548c\u542f\u52a8\u3002\u901a\u8fc7\u81ea\u52a8\u914d\u7f6e\u548c\u8d77\u6b65\u4f9d\u8d56\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u8fc5\u901f\u642d\u5efa\u5e76\u8fd0\u884c\u5e94\u7528\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u751f\u4ea7\u7ea7\u529f\u80fd\uff08Production-Ready Features\uff09<\/strong>\uff1a<br \/>\nSpring Boot \u5185\u7f6e\u4e86\u4e00\u4e9b\u9002\u7528\u4e8e\u751f\u4ea7\u73af\u5883\u7684\u529f\u80fd\uff0c\u5982\u76d1\u63a7\u3001\u6307\u6807\u3001\u5065\u5eb7\u68c0\u67e5\u3001\u5916\u90e8\u5316\u914d\u7f6e\u7b49\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u597d\u5730\u7ba1\u7406\u548c\u7ef4\u62a4\u5e94\u7528\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5d4c\u5165\u5f0f\u670d\u52a1\u5668\uff08Embedded Servers\uff09<\/strong>\uff1a<br \/>\n\u901a\u8fc7\u5d4c\u5165\u5f0f\u670d\u52a1\u5668\uff0cSpring Boot \u5e94\u7528\u53ef\u4ee5\u72ec\u7acb\u8fd0\u884c\uff0c\u51cf\u5c11\u4e86\u4f9d\u8d56\u5916\u90e8\u5e94\u7528\u670d\u52a1\u5668\u7684\u9ebb\u70e6\u3002\u8fd9\u4e5f\u4f7f\u5f97\u90e8\u7f72\u548c\u8fc1\u79fb\u66f4\u52a0\u4fbf\u6377\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u591a\u73af\u5883\u652f\u6301\uff08Environment-Specific Configuration\uff09<\/strong>\uff1a<br \/>\nSpring Boot \u652f\u6301\u6839\u636e\u4e0d\u540c\u7684\u73af\u5883\uff08\u5982\u5f00\u53d1\u3001\u6d4b\u8bd5\u3001\u751f\u4ea7\uff09\u8fdb\u884c\u914d\u7f6e\uff0c\u8fd9\u4f7f\u5f97\u540c\u4e00\u4e2a\u5e94\u7528\u53ef\u4ee5\u9002\u5e94\u4e0d\u540c\u73af\u5883\u7684\u9700\u6c42\u3002<\/p>\n<\/li>\n<\/ol>\n<p>Spring Boot \u7684\u8fd9\u4e9b\u7279\u70b9\u548c\u8bbe\u8ba1\u7406\u5ff5\u4f7f\u5f97\u5b83\u6210\u4e3a\u6784\u5efa\u73b0\u4ee3\u5fae\u670d\u52a1\u67b6\u6784\u548c\u4e91\u539f\u751f\u5e94\u7528\u7684\u7406\u60f3\u9009\u62e9\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u4e13\u6ce8\u4e8e\u4e1a\u52a1\u903b\u8f91\uff0c\u800c\u4e0d\u7528\u88ab\u7e41\u7410\u7684\u914d\u7f6e\u548c\u73af\u5883\u642d\u5efa\u6240\u56f0\u6270\u3002<\/p>\n<h2>\u95ee\uff1aSpring Boot  \u5173\u952e\u6280\u672f<\/h2>\n<p>Spring Boot \u7ed3\u5408\u4e86\u8bb8\u591a\u5173\u952e\u6280\u672f\uff0c\u4ee5\u5b9e\u73b0\u5176\u7b80\u5316\u914d\u7f6e\u3001\u5feb\u901f\u5f00\u53d1\u548c\u751f\u4ea7\u5c31\u7eea\u7684\u76ee\u6807\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b Spring Boot \u4e2d\u7684\u5173\u952e\u6280\u672f\uff1a<\/p>\n<h3>1. Spring \u6846\u67b6<\/h3>\n<p>Spring Boot \u662f\u6784\u5efa\u5728 Spring \u6846\u67b6\u4e4b\u4e0a\u7684\uff0c\u5b83\u5229\u7528\u4e86 Spring \u6838\u5fc3\u5bb9\u5668\u3001\u4f9d\u8d56\u6ce8\u5165\uff08DI\uff09\u548c\u9762\u5411\u5207\u9762\u7f16\u7a0b\uff08AOP\uff09\u7b49\u6838\u5fc3\u529f\u80fd\u6765\u63d0\u4f9b\u57fa\u7840\u8bbe\u65bd\u3002<\/p>\n<h3>2. \u81ea\u52a8\u914d\u7f6e\uff08Auto-Configuration\uff09<\/h3>\n<p>Spring Boot \u81ea\u52a8\u914d\u7f6e\u6a21\u5757\u4f1a\u6839\u636e\u9879\u76ee\u4e2d\u7684\u4f9d\u8d56\u548c\u7c7b\u8def\u5f84\u4e2d\u7684\u5b58\u5728\u60c5\u51b5\uff0c\u81ea\u52a8\u914d\u7f6e Spring \u5e94\u7528\u3002\u8fd9\u662f\u901a\u8fc7\u4e00\u7cfb\u5217\u9884\u5b9a\u4e49\u7684\u6761\u4ef6\u6ce8\u89e3\uff08\u5982 <code>@ConditionalOnClass<\/code>, <code>@ConditionalOnMissingBean<\/code> \u7b49\uff09\u5b9e\u73b0\u7684\u3002<\/p>\n<h3>3. \u8d77\u6b65\u4f9d\u8d56\uff08Starter Dependencies\uff09<\/h3>\n<p>\u8d77\u6b65\u4f9d\u8d56\uff08Starter\uff09\u662f\u4e00\u7ec4\u65b9\u4fbf\u7684\u4f9d\u8d56\u63cf\u8ff0\u7b26\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u5f15\u5165\u6240\u9700\u529f\u80fd\u3002\u4f8b\u5982\uff0c<code>spring-boot-starter-web<\/code> \u5305\u542b\u4e86\u6784\u5efa Web \u5e94\u7528\u6240\u9700\u7684\u6240\u6709\u4f9d\u8d56\u3002<\/p>\n<h3>4. \u5185\u5d4c\u670d\u52a1\u5668\uff08Embedded Servers\uff09<\/h3>\n<p>Spring Boot \u652f\u6301\u5185\u5d4c\u7684 Web \u670d\u52a1\u5668\uff08\u5982 Tomcat\u3001Jetty \u548c Undertow\uff09\uff0c\u4f7f\u5f97\u5e94\u7528\u53ef\u4ee5\u72ec\u7acb\u8fd0\u884c\uff0c\u65e0\u9700\u5916\u90e8\u5e94\u7528\u670d\u52a1\u5668\u3002\u8fd9\u901a\u8fc7 <code>spring-boot-starter-tomcat<\/code>, <code>spring-boot-starter-jetty<\/code> \u7b49\u8d77\u6b65\u4f9d\u8d56\u5b9e\u73b0\u3002<\/p>\n<h3>5. Spring Boot CLI<\/h3>\n<p>Spring Boot \u63d0\u4f9b\u4e86\u4e00\u4e2a\u547d\u4ee4\u884c\u5de5\u5177\uff08CLI\uff09\uff0c\u652f\u6301\u7528 Groovy \u811a\u672c\u5feb\u901f\u7f16\u5199\u548c\u8fd0\u884c Spring \u5e94\u7528\u3002CLI \u652f\u6301\u5feb\u901f\u539f\u578b\u5f00\u53d1\u548c\u8bd5\u9a8c\u3002<\/p>\n<h3>6. Spring Boot Actuator<\/h3>\n<p>Actuator \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u76d1\u63a7\u548c\u7ba1\u7406\u6a21\u5757\uff0c\u63d0\u4f9b\u4e86\u591a\u79cd\u7aef\u70b9\u7528\u4e8e\u67e5\u770b\u5e94\u7528\u7684\u5065\u5eb7\u72b6\u51b5\u3001\u6307\u6807\u3001\u4fe1\u606f\u7b49\u3002\u5e38\u89c1\u7684\u7aef\u70b9\u6709 <code>\/actuator\/health<\/code>, <code>\/actuator\/metrics<\/code> \u7b49\u3002<\/p>\n<h3>7. \u5916\u90e8\u5316\u914d\u7f6e\uff08Externalized Configuration\uff09<\/h3>\n<p>Spring Boot \u652f\u6301\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\uff08\u5982\u5c5e\u6027\u6587\u4ef6\u3001YAML \u6587\u4ef6\u3001\u73af\u5883\u53d8\u91cf\u3001\u547d\u4ee4\u884c\u53c2\u6570\uff09\u5916\u90e8\u5316\u914d\u7f6e\u3002\u914d\u7f6e\u4f18\u5148\u7ea7\u660e\u786e\uff0c\u5141\u8bb8\u7075\u6d3b\u7ba1\u7406\u548c\u8986\u76d6\u914d\u7f6e\u3002<\/p>\n<h3>8. Spring Data<\/h3>\n<p>Spring Boot \u4e0e Spring Data \u7d27\u5bc6\u96c6\u6210\uff0c\u7b80\u5316\u4e86\u6570\u636e\u8bbf\u95ee\u5c42\u7684\u5f00\u53d1\u3002\u901a\u8fc7 <code>spring-boot-starter-data-jpa<\/code>, <code>spring-boot-starter-data-mongodb<\/code> \u7b49\u8d77\u6b65\u4f9d\u8d56\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5feb\u901f\u5b9e\u73b0\u6570\u636e\u5e93\u64cd\u4f5c\u3002<\/p>\n<h3>9. Spring Security<\/h3>\n<p>Spring Boot \u63d0\u4f9b\u4e86\u4e0e Spring Security \u7684\u65e0\u7f1d\u96c6\u6210\uff0c\u7b80\u5316\u4e86\u5b89\u5168\u914d\u7f6e\u3002\u901a\u8fc7 <code>spring-boot-starter-security<\/code>\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5feb\u901f\u6dfb\u52a0\u8ba4\u8bc1\u548c\u6388\u6743\u529f\u80fd\u3002<\/p>\n<h3>10. \u6d4b\u8bd5\u652f\u6301<\/h3>\n<p>Spring Boot \u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6d4b\u8bd5\u652f\u6301\uff0c\u5305\u62ec <code>@SpringBootTest<\/code>, <code>@WebMvcTest<\/code>, <code>@DataJpaTest<\/code> \u7b49\u6ce8\u89e3\uff0c\u7528\u4e8e\u4e0d\u540c\u5c42\u6b21\u7684\u6d4b\u8bd5\u3002\u5b83\u8fd8\u96c6\u6210\u4e86\u5e38\u7528\u7684\u6d4b\u8bd5\u6846\u67b6\uff08\u5982 JUnit, Mockito\uff09\u3002<\/p>\n<h3>11. DevTools<\/h3>\n<p>Spring Boot DevTools \u63d0\u4f9b\u4e86\u5f00\u53d1\u65f6\u7684\u4fbf\u6377\u529f\u80fd\uff0c\u5982\u81ea\u52a8\u91cd\u542f\u3001\u5b9e\u65f6\u52a0\u8f7d\u914d\u7f6e\u548c\u6a21\u677f\u3001\u6761\u4ef6\u65ad\u70b9\u7b49\uff0c\u63d0\u5347\u5f00\u53d1\u6548\u7387\u3002<\/p>\n<h3>12. Spring Cloud<\/h3>\n<p>Spring Boot \u662f Spring Cloud \u751f\u6001\u7cfb\u7edf\u7684\u57fa\u7840\uff0c\u63d0\u4f9b\u4e86\u6784\u5efa\u5206\u5e03\u5f0f\u7cfb\u7edf\u548c\u5fae\u670d\u52a1\u67b6\u6784\u7684\u5de5\u5177\u548c\u6846\u67b6\uff0c\u5982\u670d\u52a1\u53d1\u73b0\uff08Eureka\uff09\uff0c\u914d\u7f6e\u7ba1\u7406\uff08Config Server\uff09\uff0c\u65ad\u8def\u5668\uff08Hystrix\uff09\u7b49\u3002<\/p>\n<p>\u8fd9\u4e9b\u5173\u952e\u6280\u672f\u548c\u7279\u6027\u5171\u540c\u6784\u6210\u4e86 Spring Boot \u7684\u5f3a\u5927\u529f\u80fd\uff0c\u4f7f\u5176\u6210\u4e3a\u73b0\u4ee3\u4f01\u4e1a\u5e94\u7528\u5f00\u53d1\u7684\u6d41\u884c\u9009\u62e9\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5229\u7528\u8fd9\u4e9b\u6280\u672f\u5feb\u901f\u6784\u5efa\u3001\u90e8\u7f72\u548c\u7ef4\u62a4\u9ad8\u8d28\u91cf\u7684 Java \u5e94\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u975e\u539f\u521b\u3001ChatGPT \u95ee\u7b54\u751f\u6210\uff0c\u4e0e\u9762\u8bd5\u540c\u5b66\u6c9f\u901a\u7528 Spring Boot \u662f\u4e00\u4e2a\u57fa\u4e8e Spring \u6846\u67b6\u7684\u5f00&#8230; <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/t.n-years.com\/?p=6391\">\u9605\u8bfb\u66f4\u591a<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[123],"tags":[133,132],"class_list":["post-6391","post","type-post","status-publish","format-standard","hentry","category-123","tag-spring","tag-springboot"],"_links":{"self":[{"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/posts\/6391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/t.n-years.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6391"}],"version-history":[{"count":1,"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/posts\/6391\/revisions"}],"predecessor-version":[{"id":6392,"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/posts\/6391\/revisions\/6392"}],"wp:attachment":[{"href":"https:\/\/t.n-years.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/t.n-years.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/t.n-years.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}