{"id":1661,"date":"2026-02-01T16:46:51","date_gmt":"2026-02-01T08:46:51","guid":{"rendered":"https:\/\/www.52runoob.com\/?p=1661"},"modified":"2026-02-01T16:46:51","modified_gmt":"2026-02-01T08:46:51","slug":"redistemplate%e5%b8%b8%e7%94%a8%e6%96%b9%e6%b3%95%e5%a4%a7%e5%85%a8%e9%9d%a2%e8%af%95%e5%bf%85%e5%a4%87","status":"publish","type":"post","link":"https:\/\/www.52runoob.com\/index.php\/2026\/02\/01\/redistemplate%e5%b8%b8%e7%94%a8%e6%96%b9%e6%b3%95%e5%a4%a7%e5%85%a8%e9%9d%a2%e8%af%95%e5%bf%85%e5%a4%87\/","title":{"rendered":"redistemplate\u5e38\u7528\u65b9\u6cd5\u5927\u5168(\u9762\u8bd5\u5fc5\u5907)"},"content":{"rendered":"\n<p>\u660e\u767d\u4e86\uff0c\u4f60\u8bf4\u7684 <strong>redistemplate<\/strong> \u5b9e\u9645\u4e0a\u662f <strong>Spring \u7684 <code>RedisTemplate<\/code><\/strong>\u3002<br>\u8fd9\u662f<strong>Java \u540e\u7aef \/ Spring \/ \u5fae\u670d\u52a1\u9762\u8bd5\u7684\u5fc5\u8003\u70b9<\/strong>\u4e4b\u4e00\u3002<br>\u6211\u7ed9\u4f60\u4e00\u4efd \ud83d\udc49 <strong>\u3010RedisTemplate \u5e38\u7528\u65b9\u6cd5\u5927\u5168\uff08\u9762\u8bd5\u5fc5\u5907\u7248\uff09\u3011<\/strong>\uff0c\u6309\u6570\u636e\u7ed3\u6784\u5206\u7c7b\uff0c<strong>\u80cc\u8fd9\u4efd\u57fa\u672c\u4e0d\u7ffb\u8f66<\/strong>\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u4e00\u3001RedisTemplate \u662f\u4ec0\u4e48\uff1f\uff08\u9762\u8bd5\u7b2c\u4e00\u95ee\uff09<\/h1>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>RedisTemplate \u662f Spring Data Redis \u63d0\u4f9b\u7684\u64cd\u4f5c Redis \u7684\u6838\u5fc3\u6a21\u677f\u7c7b<\/strong><\/p>\n<\/blockquote>\n\n\n\n<p>\u7279\u70b9\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5c01\u88c5 Redis \u547d\u4ee4<\/li>\n\n\n\n<li>\u652f\u6301\u4e8b\u52a1\u3001\u7ba1\u9053<\/li>\n\n\n\n<li>\u652f\u6301\u591a\u79cd\u6570\u636e\u7ed3\u6784<\/li>\n\n\n\n<li>\u81ea\u52a8\u5e8f\u5217\u5316 \/ \u53cd\u5e8f\u5217\u5316<\/li>\n<\/ul>\n\n\n\n<p>\u5e38\u89c1\u6ce8\u5165\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n@Autowired\nprivate RedisTemplate&amp;lt;String, Object&gt; redisTemplate;\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u4e8c\u30015 \u5927\u6838\u5fc3\u64cd\u4f5c\u5bf9\u8c61\uff08\u5fc5\u987b\u4f1a\u80cc\uff09<\/h1>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Redis \u6570\u636e\u7ed3\u6784<\/th><th>\u5bf9\u5e94\u65b9\u6cd5<\/th><\/tr><\/thead><tbody><tr><td>String<\/td><td><code>opsForValue()<\/code><\/td><\/tr><tr><td>Hash<\/td><td><code>opsForHash()<\/code><\/td><\/tr><tr><td>List<\/td><td><code>opsForList()<\/code><\/td><\/tr><tr><td>Set<\/td><td><code>opsForSet()<\/code><\/td><\/tr><tr><td>ZSet<\/td><td><code>opsForZSet()<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u4e09\u3001String\uff08\u6700\u5e38\u7528\uff0c\u7f13\u5b58\u5fc5\u8003\uff09<\/h1>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nValueOperations&amp;lt;String, Object&gt; ops = redisTemplate.opsForValue();\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u5e38\u7528\u65b9\u6cd5<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u65b9\u6cd5<\/th><th>\u4f5c\u7528<\/th><\/tr><\/thead><tbody><tr><td><code>set(key, value)<\/code><\/td><td>\u5b58\u503c<\/td><\/tr><tr><td><code>get(key)<\/code><\/td><td>\u53d6\u503c<\/td><\/tr><tr><td><code>set(key, value, timeout, unit)<\/code><\/td><td>\u5b58\u503c + \u8fc7\u671f<\/td><\/tr><tr><td><code>increment(key)<\/code><\/td><td>\u81ea\u589e<\/td><\/tr><tr><td><code>increment(key, delta)<\/code><\/td><td>\u6307\u5b9a\u589e\u91cf<\/td><\/tr><tr><td><code>decrement(key)<\/code><\/td><td>\u81ea\u51cf<\/td><\/tr><tr><td><code>append(key, value)<\/code><\/td><td>\u8ffd\u52a0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\ud83d\udccc <strong>\u9762\u8bd5\u9ad8\u9891<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u5982\u4f55\u8bbe\u7f6e\u7f13\u5b58\u8fc7\u671f\uff1f<\/p>\n<\/blockquote>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nops.set(&quot;k&quot;, &quot;v&quot;, 10, TimeUnit.MINUTES);\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u56db\u3001Hash\uff08\u5bf9\u8c61\u7f13\u5b58\u5fc5\u8003\uff09<\/h1>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nHashOperations&amp;lt;String, String, Object&gt; ops = redisTemplate.opsForHash();\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u5e38\u7528\u65b9\u6cd5<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u65b9\u6cd5<\/th><th>\u4f5c\u7528<\/th><\/tr><\/thead><tbody><tr><td><code>put(key, hashKey, value)<\/code><\/td><td>\u5b58\u5b57\u6bb5<\/td><\/tr><tr><td><code>get(key, hashKey)<\/code><\/td><td>\u53d6\u5b57\u6bb5<\/td><\/tr><tr><td><code>putAll(key, map)<\/code><\/td><td>\u6279\u91cf<\/td><\/tr><tr><td><code>entries(key)<\/code><\/td><td>\u5168\u90e8<\/td><\/tr><tr><td><code>keys(key)<\/code><\/td><td>\u6240\u6709\u5b57\u6bb5<\/td><\/tr><tr><td><code>values(key)<\/code><\/td><td>\u6240\u6709\u503c<\/td><\/tr><tr><td><code>delete(key, hashKey)<\/code><\/td><td>\u5220\u9664\u5b57\u6bb5<\/td><\/tr><tr><td><code>hasKey(key, hashKey)<\/code><\/td><td>\u662f\u5426\u5b58\u5728<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\ud83d\udccc <strong>\u9762\u8bd5\u70b9<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u4e3a\u4ec0\u4e48\u7528 Hash \u5b58\u5bf9\u8c61\uff1f<br>\u2714 \u8282\u7701\u7a7a\u95f4<br>\u2714 \u652f\u6301\u5b57\u6bb5\u7ea7\u66f4\u65b0<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u4e94\u3001List\uff08\u961f\u5217 \/ \u6d88\u606f\uff09<\/h1>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nListOperations&amp;lt;String, Object&gt; ops = redisTemplate.opsForList();\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u5e38\u7528\u65b9\u6cd5<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u65b9\u6cd5<\/th><th>\u4f5c\u7528<\/th><\/tr><\/thead><tbody><tr><td><code>leftPush(key, value)<\/code><\/td><td>\u5de6\u5165<\/td><\/tr><tr><td><code>rightPush(key, value)<\/code><\/td><td>\u53f3\u5165<\/td><\/tr><tr><td><code>leftPop(key)<\/code><\/td><td>\u5de6\u51fa<\/td><\/tr><tr><td><code>rightPop(key)<\/code><\/td><td>\u53f3\u51fa<\/td><\/tr><tr><td><code>range(key, start, end)<\/code><\/td><td>\u67e5\u8be2<\/td><\/tr><tr><td><code>size(key)<\/code><\/td><td>\u957f\u5ea6<\/td><\/tr><tr><td><code>remove(key, count, value)<\/code><\/td><td>\u5220\u9664<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\ud83d\udccc <strong>\u9762\u8bd5\u70b9<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Redis List \u80fd\u4e0d\u80fd\u5f53\u961f\u5217\uff1f<br>\u2714 \u53ef\u4ee5<br>\u274c \u4e0d\u9002\u5408\u9ad8\u53ef\u9760\u6d88\u606f\uff08\u5bf9\u6bd4 MQ\uff09<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u516d\u3001Set\uff08\u53bb\u91cd \/ \u5173\u7cfb\uff09<\/h1>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSetOperations&amp;lt;String, Object&gt; ops = redisTemplate.opsForSet();\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u5e38\u7528\u65b9\u6cd5<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u65b9\u6cd5<\/th><th>\u4f5c\u7528<\/th><\/tr><\/thead><tbody><tr><td><code>add(key, values...)<\/code><\/td><td>\u6dfb\u52a0<\/td><\/tr><tr><td><code>members(key)<\/code><\/td><td>\u6240\u6709\u5143\u7d20<\/td><\/tr><tr><td><code>isMember(key, value)<\/code><\/td><td>\u662f\u5426\u5b58\u5728<\/td><\/tr><tr><td><code>remove(key, value)<\/code><\/td><td>\u5220\u9664<\/td><\/tr><tr><td><code>size(key)<\/code><\/td><td>\u6570\u91cf<\/td><\/tr><tr><td><code>intersect(k1, k2)<\/code><\/td><td>\u4ea4\u96c6<\/td><\/tr><tr><td><code>union(k1, k2)<\/code><\/td><td>\u5e76\u96c6<\/td><\/tr><tr><td><code>difference(k1, k2)<\/code><\/td><td>\u5dee\u96c6<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\ud83d\udccc \u4f7f\u7528\u573a\u666f<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u70b9\u8d5e<\/li>\n\n\n\n<li>\u6807\u7b7e<\/li>\n\n\n\n<li>\u9ed1\u540d\u5355<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u4e03\u3001ZSet\uff08\u6392\u884c\u699c\u5fc5\u8003\uff09<\/h1>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nZSetOperations&amp;lt;String, Object&gt; ops = redisTemplate.opsForZSet();\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u5e38\u7528\u65b9\u6cd5<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u65b9\u6cd5<\/th><th>\u4f5c\u7528<\/th><\/tr><\/thead><tbody><tr><td><code>add(key, value, score)<\/code><\/td><td>\u6dfb\u52a0<\/td><\/tr><tr><td><code>incrementScore(key, value, delta)<\/code><\/td><td>\u52a0\u5206<\/td><\/tr><tr><td><code>score(key, value)<\/code><\/td><td>\u67e5\u5206<\/td><\/tr><tr><td><code>rank(key, value)<\/code><\/td><td>\u5347\u5e8f\u6392\u540d<\/td><\/tr><tr><td><code>reverseRank(key, value)<\/code><\/td><td>\u964d\u5e8f\u6392\u540d<\/td><\/tr><tr><td><code>range(key, start, end)<\/code><\/td><td>\u5347\u5e8f<\/td><\/tr><tr><td><code>reverseRange(key, start, end)<\/code><\/td><td>\u964d\u5e8f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\ud83d\udccc <strong>\u9762\u8bd5\u9ad8\u9891<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u6392\u884c\u699c\u600e\u4e48\u505a\uff1f<br>\u2714 Redis ZSet + score<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u516b\u3001Key \u901a\u7528\u64cd\u4f5c\uff08\u5fc5\u80cc\uff09<\/h1>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nredisTemplate.delete(key);\n\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u65b9\u6cd5<\/th><th>\u4f5c\u7528<\/th><\/tr><\/thead><tbody><tr><td><code>hasKey(key)<\/code><\/td><td>\u662f\u5426\u5b58\u5728<\/td><\/tr><tr><td><code>delete(key)<\/code><\/td><td>\u5220\u9664<\/td><\/tr><tr><td><code>expire(key, time, unit)<\/code><\/td><td>\u8bbe\u7f6e\u8fc7\u671f<\/td><\/tr><tr><td><code>getExpire(key)<\/code><\/td><td>\u5269\u4f59\u65f6\u95f4<\/td><\/tr><tr><td><code>keys(pattern)<\/code><\/td><td>\u6a21\u7cca\u67e5\u8be2\uff08\u614e\u7528\uff09<\/td><\/tr><tr><td><code>rename(old, new)<\/code><\/td><td>\u91cd\u547d\u540d<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u26a0\ufe0f \u9762\u8bd5\u52a0\u5206\u70b9\uff1a<br><code>keys(\"*\")<\/code> <strong>\u7ebf\u4e0a\u614e\u7528<\/strong>\uff0c\u4f1a\u963b\u585e Redis<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u4e5d\u3001\u4e8b\u52a1 &amp; \u7ba1\u9053\uff08\u8fdb\u9636\uff09<\/h1>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e8b\u52a1<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nredisTemplate.multi();\nredisTemplate.exec();\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u7ba1\u9053<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nredisTemplate.executePipelined(...)\n\n<\/pre><\/div>\n\n\n<p>\ud83d\udccc \u9762\u8bd5\u70b9\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Redis <strong>\u4e8b\u52a1\u4e0d\u4fdd\u8bc1\u56de\u6eda<\/strong><\/li>\n\n\n\n<li>\u7ba1\u9053\u7528\u4e8e <strong>\u6279\u91cf\u63d0\u5347\u6027\u80fd<\/strong><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u5341\u3001\u5e8f\u5217\u5316\uff08\u9762\u8bd5\u5fc5\u95ee\uff09<\/h1>\n\n\n\n<h3 class=\"wp-block-heading\">\u5e38\u89c1\u95ee\u9898<\/h3>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u4e3a\u4ec0\u4e48 Redis \u91cc\u662f\u4e71\u7801\uff1f<\/p>\n<\/blockquote>\n\n\n\n<p>\u539f\u56e0\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u9ed8\u8ba4\u4f7f\u7528 JDK \u5e8f\u5217\u5316<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u89e3\u51b3\u65b9\u6848\uff08\u9762\u8bd5\u52a0\u5206\uff09<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4f7f\u7528 <strong>StringRedisTemplate<\/strong><\/li>\n\n\n\n<li>\u6216\u914d\u7f6e <strong>Jackson2JsonRedisSerializer<\/strong><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u5341\u4e00\u3001RedisTemplate vs StringRedisTemplate\uff08\u5fc5\u8003\uff09<\/h1>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u5bf9\u6bd4<\/th><th>RedisTemplate<\/th><th>StringRedisTemplate<\/th><\/tr><\/thead><tbody><tr><td>value \u7c7b\u578b<\/td><td>Object<\/td><td>String<\/td><\/tr><tr><td>\u5e8f\u5217\u5316<\/td><td>JDK<\/td><td>String<\/td><\/tr><tr><td>\u4f7f\u7528\u96be\u5ea6<\/td><td>\u9ad8<\/td><td>\u7b80\u5355<\/td><\/tr><tr><td>\u63a8\u8350\u573a\u666f<\/td><td>\u590d\u6742\u5bf9\u8c61<\/td><td>\u7b80\u5355\u7f13\u5b58<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u5341\u4e8c\u3001\u9762\u8bd5\u901f\u8bb0\u53e3\u8bc0\uff08\u9001\u4f60\uff09<\/h1>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>String \u7f13\u5b58<br>Hash \u5bf9\u8c61<br>List \u961f\u5217<br>Set \u53bb\u91cd<br>ZSet \u6392\u884c\u699c<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5982\u679c\u4f60\u613f\u610f\uff0c\u6211\u8fd8\u80fd\u5e2e\u4f60\uff1a<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u2705 <strong>RedisTemplate \u9762\u8bd5\u9898 + \u6807\u51c6\u7b54\u6848<\/strong><\/li>\n\n\n\n<li>\u2705 <strong>\u7f13\u5b58\u7a7f\u900f \/ \u51fb\u7a7f \/ \u96ea\u5d29\u600e\u4e48\u7b54<\/strong><\/li>\n\n\n\n<li>\u2705 <strong>RedisTemplate \u5b9e\u6218\u4ee3\u7801<\/strong><\/li>\n\n\n\n<li>\u2705 <strong>\u9ad8\u9891\u9762\u8bd5\u201c\u53cd\u6740\u8ffd\u95ee\u201d<\/strong><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u660e\u767d\u4e86\uff0c\u4f60\u8bf4\u7684 redistemplate \u5b9e\u9645\u4e0a\u662f Spring \u7684 Redi&#8230; <a class=\"more-link\" href=\"https:\/\/www.52runoob.com\/index.php\/2026\/02\/01\/redistemplate%e5%b8%b8%e7%94%a8%e6%96%b9%e6%b3%95%e5%a4%a7%e5%85%a8%e9%9d%a2%e8%af%95%e5%bf%85%e5%a4%87\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1661","post","type-post","status-publish","format-standard","hentry","category-2"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/1661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/comments?post=1661"}],"version-history":[{"count":1,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/1661\/revisions"}],"predecessor-version":[{"id":1662,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/1661\/revisions\/1662"}],"wp:attachment":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/media?parent=1661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/categories?post=1661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/tags?post=1661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}