This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch cn-site
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/cn-site by this push:
new 504007b9d0 deploy: 40b2d48efef8af1dac31829a7b8f600f1aaddf80
504007b9d0 is described below
commit 504007b9d0cb17445f351af52a728f1c4279c49b
Author: AlbumenJ <[email protected]>
AuthorDate: Wed Jun 28 12:12:05 2023 +0000
deploy: 40b2d48efef8af1dac31829a7b8f600f1aaddf80
---
sitemap.xml | 2 +-
.../reference-manual/serialization/fst/index.html | 26 ++++------------------
.../reference-manual/serialization/gson/index.html | 26 ++++------------------
.../reference-manual/serialization/index.html | 2 +-
zh-cn/sitemap.xml | 2 +-
5 files changed, 11 insertions(+), 47 deletions(-)
diff --git a/sitemap.xml b/sitemap.xml
index 54d1ec97f1..dca229849d 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://cn.dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2023-06-28T20:06:23+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-05-10T11:59:30+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://cn.dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2023-06-28T20:07:17+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-05-10T11:59:30+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
diff --git
a/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/fst/index.html
b/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/fst/index.html
index bc81227e1d..bbec3a7dd6 100644
---
a/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/fst/index.html
+++
b/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/fst/index.html
@@ -1,24 +1,6 @@
-<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=canonical
href=https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/fst/><script>var
_hmt=_hmt||[];(function(){var
e,t=document.createElement("script");t.src="https://hm.baidu.com/hm.js?3b78f49ba47181e4d998a66b689446e9",e=document.getElementsByTagName("script")[0],e.parentNode.insertBefore(t,e)})()</script><meta
charset=utf-8><meta name=viewport cont [...]
-比JDK提供的序列化提升了10倍,体积也减少 3-4 倍多 支持堆外Maps,和堆外Maps的持久化 支持序列化为JSON 2 使用方式 2.1 添加依赖
<dependencies> <dependency> <groupId>org.apache.dubbo.extensions</groupId>
<artifactId>dubbo-serialization-fst</artifactId> <version>1.0.1</version>
</dependency> <dependency> <groupId>de.ruedigermoeller</groupId>
<artifactId>fst</artifactId> <version>3.0.3</version> </dependency>
</dependencies> 2.2 配置启用 # application.yml (Spring Boot) dubbo: protocol:
serialization: fst 或
-# dubbo.properties dubbo.protocol.serialization=fst # or
dubbo.consumer.serialization=fst # or
dubbo.reference.com.demo.DemoService.serialization=fst 或
-<dubbo:protocol serialization="fst" /> <!-- or --> <dubbo:consumer
serialization="fst" /> <!-- or --> <dubbo:reference
interface="xxx" serialization="fst" /> "><meta
property="og:type" content="article"><meta property="og:url"
content="https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/fst/"><meta
property="article:section" content="overview"><meta
property="article:modified_time" content="2023-05-09T10:43:48+08:00"> [...]
-比JDK提供的序列化提升了10倍,体积也减少 3-4 倍多 支持堆外Maps,和堆外Maps的持久化 支持序列化为JSON 2 使用方式 2.1 添加依赖
<dependencies> <dependency> <groupId>org.apache.dubbo.extensions</groupId>
<artifactId>dubbo-serialization-fst</artifactId> <version>1.0.1</version>
</dependency> <dependency> <groupId>de.ruedigermoeller</groupId>
<artifactId>fst</artifactId> <version>3.0.3</version> </dependency>
</dependencies> 2.2 配置启用 # application.yml (Spring Boot) dubbo: protocol:
serialization: fst 或
-# dubbo.properties dubbo.protocol.serialization=fst # or
dubbo.consumer.serialization=fst # or
dubbo.reference.com.demo.DemoService.serialization=fst 或
-<dubbo:protocol serialization="fst" /> <!-- or --> <dubbo:consumer
serialization="fst" /> <!-- or --> <dubbo:reference
interface="xxx" serialization="fst" /> "><meta
itemprop=dateModified content="2023-05-09T10:43:48+08:00"><meta
itemprop=wordCount content="62"><meta itemprop=keywords content><meta
name=twitter:card content="summary"><meta name=twitter:title
content="FST"><meta name=twitter:description content="1 介绍 FST序列化全称是Fast
Serialization,它是对Java序列化的替 [...]
-比JDK提供的序列化提升了10倍,体积也减少 3-4 倍多 支持堆外Maps,和堆外Maps的持久化 支持序列化为JSON 2 使用方式 2.1 添加依赖
<dependencies> <dependency> <groupId>org.apache.dubbo.extensions</groupId>
<artifactId>dubbo-serialization-fst</artifactId> <version>1.0.1</version>
</dependency> <dependency> <groupId>de.ruedigermoeller</groupId>
<artifactId>fst</artifactId> <version>3.0.3</version> </dependency>
</dependencies> 2.2 配置启用 # application.yml (Spring Boot) dubbo: protocol:
serialization: fst 或
-# dubbo.properties dubbo.protocol.serialization=fst # or
dubbo.consumer.serialization=fst # or
dubbo.reference.com.demo.DemoService.serialization=fst 或
-<dubbo:protocol serialization="fst" /> <!-- or --> <dubbo:consumer
serialization="fst" /> <!-- or --> <dubbo:reference
interface="xxx" serialization="fst" /> "><script async
src="https://www.googletagmanager.com/gtag/js?id=G-NM6FFMT51J"></script>
+<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=canonical
href=https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/fst/><script>var
_hmt=_hmt||[];(function(){var
e,t=document.createElement("script");t.src="https://hm.baidu.com/hm.js?3b78f49ba47181e4d998a66b689446e9",e=document.getElementsByTagName("script")[0],e.parentNode.insertBefore(t,e)})()</script><meta
charset=utf-8><meta name=viewport cont [...]
<script>var
doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function
gtag(){dataLayer.push(arguments)}gtag("js",new
Date),gtag("config","G-NM6FFMT51J",{anonymize_ip:!1})}</script><link
rel=preload
href=/scss/main.min.827bbd3e83b1e0c66a1c08738c713f88f8068e84600146c2dbf9035f0f496f01.css
as=style><link
href=/scss/main.min.827bbd3e83b1e0c66a1c08738c713f88f8068e84600146c2dbf9035f0f496f01.css
rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js
integrity="sha256-9/a [...]
-<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3><meta
name=theme-color content="#326ce5"><link rel=stylesheet
href=/css/feature-states.css><meta name=description content="1 介绍 FST序列化全称是Fast
Serialization,它是对Java序列化的替换实现。既然前文中提到Java序列化的两点严重不足,在FST中得到了较大的改善,FST的特征如下:
-比JDK提供的序列化提升了10倍,体积也减少 3-4 倍多 支持堆外Maps,和堆外Maps的持久化 支持序列化为JSON 2 使用方式 2.1 添加依赖
<dependencies> <dependency> <groupId>org.apache.dubbo.extensions</groupId>
<artifactId>dubbo-serialization-fst</artifactId> <version>1.0.1</version>
</dependency> <dependency> <groupId>de.ruedigermoeller</groupId>
<artifactId>fst</artifactId> <version>3.0.3</version> </dependency>
</dependencies> 2.2 配置启用 # application.yml (Spring Boot) dubbo: protocol:
serialization: fst 或
-# dubbo.properties dubbo.protocol.serialization=fst # or
dubbo.consumer.serialization=fst # or
dubbo.reference.com.demo.DemoService.serialization=fst 或
-<dubbo:protocol serialization="fst" /> <!-- or --> <dubbo:consumer
serialization="fst" /> <!-- or --> <dubbo:reference
interface="xxx" serialization="fst" /> "><meta
property="og:description" content="1 介绍 FST序列化全称是Fast
Serialization,它是对Java序列化的替换实现。既然前文中提到Java序列化的两点严重不足,在FST中得到了较大的改善,FST的特征如下:
-比JDK提供的序列化提升了10倍,体积也减少 3-4 倍多 支持堆外Maps,和堆外Maps的持久化 支持序列化为JSON 2 使用方式 2.1 添加依赖
<dependencies> <dependency> <groupId>org.apache.dubbo.extensions</groupId>
<artifactId>dubbo-serialization-fst</artifactId> <version>1.0.1</version>
</dependency> <dependency> <groupId>de.ruedigermoeller</groupId>
<artifactId>fst</artifactId> <version>3.0.3</version> </dependency>
</dependencies> 2.2 配置启用 # application.yml (Spring Boot) dubbo: protocol:
serialization: fst 或
-# dubbo.properties dubbo.protocol.serialization=fst # or
dubbo.consumer.serialization=fst # or
dubbo.reference.com.demo.DemoService.serialization=fst 或
-<dubbo:protocol serialization="fst" /> <!-- or --> <dubbo:consumer
serialization="fst" /> <!-- or --> <dubbo:reference
interface="xxx" serialization="fst" /> "><meta
name=twitter:description content="1 介绍 FST序列化全称是Fast
Serialization,它是对Java序列化的替换实现。既然前文中提到Java序列化的两点严重不足,在FST中得到了较大的改善,FST的特征如下:
-比JDK提供的序列化提升了10倍,体积也减少 3-4 倍多 支持堆外Maps,和堆外Maps的持久化 支持序列化为JSON 2 使用方式 2.1 添加依赖
<dependencies> <dependency> <groupId>org.apache.dubbo.extensions</groupId>
<artifactId>dubbo-serialization-fst</artifactId> <version>1.0.1</version>
</dependency> <dependency> <groupId>de.ruedigermoeller</groupId>
<artifactId>fst</artifactId> <version>3.0.3</version> </dependency>
</dependencies> 2.2 配置启用 # application.yml (Spring Boot) dubbo: protocol:
serialization: fst 或
-# dubbo.properties dubbo.protocol.serialization=fst # or
dubbo.consumer.serialization=fst # or
dubbo.reference.com.demo.DemoService.serialization=fst 或
-<dubbo:protocol serialization="fst" /> <!-- or --> <dubbo:consumer
serialization="fst" /> <!-- or --> <dubbo:reference
interface="xxx" serialization="fst" /> "><meta
property="og:url"
content="https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/fst/"><meta
property="og:title" content="FST"><meta name=twitter:title content="FST"><meta
name=twitter:image:alt content="Apache Dubbo"><meta property="og:type"
content="artic [...]
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3><meta
name=theme-color content="#326ce5"><link rel=stylesheet
href=/css/feature-states.css><meta name=description content="本文介绍 FST
序列化"><meta property="og:description" content="本文介绍 FST 序列化"><meta
name=twitter:description content="本文介绍 FST 序列化"><meta property="og:url"
content="https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/fst/"><meta
property="og:title" content="FST"><met [...]
<link href=/css/community.css rel=stylesheet><link href=/css/contactus.css
rel=stylesheet><link href=/css/language.css rel=stylesheet><script
src=/js/script.js></script></head><body class="td-page
td-documentation"><header><nav class="js-navbar-scroll navbar navbar-expand
navbar-dark flex-column flex-md-row td-navbar" data-auto-burger=primary><a
class=navbar-brand href=/zh-cn/><span class=navbar-logo></span><span
class="text-uppercase font-weight-bold">Apache Dubbo</span></a><div class="
[...]
<label for=m-zh-cnoverviewhome-check><a href=/zh-cn/overview/home/
title="Dubbo 文档" class="align-left pl-0 td-sidebar-link
td-sidebar-link__section"
id=m-zh-cnoverviewhome><span>主页</span></a></label></li><li
class="td-sidebar-nav__section-title td-sidebar-nav__section with-child"
id=m-zh-cnoverviewquickstart-li><input type=checkbox
id=m-zh-cnoverviewquickstart-check>
<label for=m-zh-cnoverviewquickstart-check><a href=/zh-cn/overview/quickstart/
title="Dubbo 入门" class="align-left pl-0 td-sidebar-link
td-sidebar-link__section"
id=m-zh-cnoverviewquickstart><span>入门</span></a></label><ul class="ul-2
foldable"><li class="td-sidebar-nav__section-title td-sidebar-nav__section
with-child" id=m-zh-cnoverviewquickstartjava-li><input type=checkbox
id=m-zh-cnoverviewquickstartjava-check>
@@ -688,7 +670,7 @@
<label for=m-zh-cnoverviewreferenceprotocols-check><a
href=/zh-cn/overview/reference/protocols/ class="align-left pl-0
td-sidebar-link td-sidebar-link__section"
id=m-zh-cnoverviewreferenceprotocols><span>协议规范</span></a></label><ul
class="ul-3 foldable"><li class="td-sidebar-nav__section-title
td-sidebar-nav__section without-child"
id=m-zh-cnoverviewreferenceprotocolstriple-li><input type=checkbox
id=m-zh-cnoverviewreferenceprotocolstriple-check>
<label for=m-zh-cnoverviewreferenceprotocolstriple-check><a
href=/zh-cn/overview/reference/protocols/triple/ title="Triple 协议设计理念与规范"
class="align-left pl-0 td-sidebar-link td-sidebar-link__page"
id=m-zh-cnoverviewreferenceprotocolstriple><span>Triple
协议规范</span></a></label></li><li class="td-sidebar-nav__section-title
td-sidebar-nav__section without-child"
id=m-zh-cnoverviewreferenceprotocolstcp-li><input type=checkbox
id=m-zh-cnoverviewreferenceprotocolstcp-check>
<label for=m-zh-cnoverviewreferenceprotocolstcp-check><a
href=/zh-cn/overview/reference/protocols/tcp/ class="align-left pl-0
td-sidebar-link td-sidebar-link__page"
id=m-zh-cnoverviewreferenceprotocolstcp><span>Dubbo2
协议规范</span></a></label></li><li class="td-sidebar-nav__section-title
td-sidebar-nav__section without-child"
id=m-zh-cnoverviewreferenceprotocolshttp-li><input type=checkbox
id=m-zh-cnoverviewreferenceprotocolshttp-check>
-<label for=m-zh-cnoverviewreferenceprotocolshttp-check><a
href=/zh-cn/overview/reference/protocols/http/ class="align-left pl-0
td-sidebar-link td-sidebar-link__page"
id=m-zh-cnoverviewreferenceprotocolshttp><span>HTTP
协议规范</span></a></label></li></ul></li></ul></li></ul></li></ul></nav></div></div><main
class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb
class=td-breadcrumbs><ol class=breadcrumb><li class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-c [...]
+<label for=m-zh-cnoverviewreferenceprotocolshttp-check><a
href=/zh-cn/overview/reference/protocols/http/ class="align-left pl-0
td-sidebar-link td-sidebar-link__page"
id=m-zh-cnoverviewreferenceprotocolshttp><span>HTTP
协议规范</span></a></label></li></ul></li></ul></li></ul></li></ul></nav></div></div><main
class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb
class=td-breadcrumbs><ol class=breadcrumb><li class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-c [...]
</span></span><span style=display:flex><span> <span
style=color:#268bd2><dependency></span>
</span></span><span style=display:flex><span> <span
style=color:#268bd2><groupId></span>org.apache.dubbo.extensions<span
style=color:#268bd2></groupId></span>
</span></span><span style=display:flex><span> <span
style=color:#268bd2><artifactId></span>dubbo-serialization-fst<span
style=color:#268bd2></artifactId></span>
@@ -720,7 +702,7 @@
</span></span><span style=display:flex><span> <span
style=color:#586e75><!-- or --></span>
</span></span><span style=display:flex><span><span
style=color:#268bd2><dubbo:reference</span> interface=<span
style=color:#2aa198>"xxx"</span> serialization=<span
style=color:#2aa198>"fst"</span> <span style=color:#268bd2>/></span>
</span></span></code></pre></div><div id=pre-footer><h2>反馈</h2><p
class=feedback--prompt>此页是否对您有帮助?</p><button class="btn btn-primary mb-4
feedback--yes">是</button>
-<button class="btn btn-primary mb-4
feedback--no">否</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disabled
[...]
+<button class="btn btn-primary mb-4
feedback--no">否</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disabled
[...]
<a
href="https://github.com/apache/dubbo-website/new/master/content/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/fst.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A
[...]
<a href="https://github.com/apache/dubbo-website/issues/new?title=FST"
target=_blank><i class="fab fa-github fa-fw"></i> 登记问题</a>
<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> 提交项目问题</a></div></main><div class="d-none d-xl-block
col-xl-2 td-toc d-print-none"><nav id=TableOfContents><ul><li><a href=#1-介绍>1
介绍</a></li><li><a href=#2-使用方式>2 使用方式</a><ul><li><a href=#21-添加依赖>2.1
添加依赖</a></li><li><a href=#22-配置启用>2.2
配置启用</a></li></ul></li></ul></nav></div></div></div></div><footer
class="bg-dark py-5 row d-print-none footer-margin-0"><div
class="container-fluid mx-sm [...]
diff --git
a/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/gson/index.html
b/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/gson/index.html
index 41a2e630d2..f267af20e9 100644
---
a/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/gson/index.html
+++
b/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/gson/index.html
@@ -1,24 +1,6 @@
-<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=canonical
href=https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/gson/><script>var
_hmt=_hmt||[];(function(){var
e,t=document.createElement("script");t.src="https://hm.baidu.com/hm.js?3b78f49ba47181e4d998a66b689446e9",e=document.getElementsByTagName("script")[0],e.parentNode.insertBefore(t,e)})()</script><meta
charset=utf-8><meta name=viewport con [...]
-2 使用方式 2.1 添加依赖 <dependencies> <dependency>
<groupId>org.apache.dubbo.extensions</groupId>
<artifactId>dubbo-serialization-gson</artifactId> <version>1.0.1</version>
</dependency> <dependency> <groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId> <version>2.10.1</version> </dependency>
</dependencies> 2.2 配置启用 # application.yml (Spring Boot) dubbo: protocol:
serialization: gson 或
-# dubbo.properties dubbo.protocol.serialization=gson # or
dubbo.consumer.serialization=gson # or
dubbo.reference.com.demo.DemoService.serialization=gson 或
-<dubbo:protocol serialization="gson" /> <!-- or --> <dubbo:consumer
serialization="gson" /> <!-- or --> <dubbo:reference
interface="xxx" serialization="gson" /> "><meta
property="og:type" content="article"><meta property="og:url"
content="https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/gson/"><meta
property="article:section" content="overview"><meta
property="article:modified_time" content="2023-05-09T10:43:48+08: [...]
-2 使用方式 2.1 添加依赖 <dependencies> <dependency>
<groupId>org.apache.dubbo.extensions</groupId>
<artifactId>dubbo-serialization-gson</artifactId> <version>1.0.1</version>
</dependency> <dependency> <groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId> <version>2.10.1</version> </dependency>
</dependencies> 2.2 配置启用 # application.yml (Spring Boot) dubbo: protocol:
serialization: gson 或
-# dubbo.properties dubbo.protocol.serialization=gson # or
dubbo.consumer.serialization=gson # or
dubbo.reference.com.demo.DemoService.serialization=gson 或
-<dubbo:protocol serialization="gson" /> <!-- or --> <dubbo:consumer
serialization="gson" /> <!-- or --> <dubbo:reference
interface="xxx" serialization="gson" /> "><meta
itemprop=dateModified content="2023-05-09T10:43:48+08:00"><meta
itemprop=wordCount content="56"><meta itemprop=keywords content><meta
name=twitter:card content="summary"><meta name=twitter:title
content="Gson"><meta name=twitter:description content="1 介绍
Gson是Google公司发布的一个开放源代码的Java库,主要用途为序 [...]
-2 使用方式 2.1 添加依赖 <dependencies> <dependency>
<groupId>org.apache.dubbo.extensions</groupId>
<artifactId>dubbo-serialization-gson</artifactId> <version>1.0.1</version>
</dependency> <dependency> <groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId> <version>2.10.1</version> </dependency>
</dependencies> 2.2 配置启用 # application.yml (Spring Boot) dubbo: protocol:
serialization: gson 或
-# dubbo.properties dubbo.protocol.serialization=gson # or
dubbo.consumer.serialization=gson # or
dubbo.reference.com.demo.DemoService.serialization=gson 或
-<dubbo:protocol serialization="gson" /> <!-- or --> <dubbo:consumer
serialization="gson" /> <!-- or --> <dubbo:reference
interface="xxx" serialization="gson" /> "><script async
src="https://www.googletagmanager.com/gtag/js?id=G-NM6FFMT51J"></script>
+<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=canonical
href=https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/gson/><script>var
_hmt=_hmt||[];(function(){var
e,t=document.createElement("script");t.src="https://hm.baidu.com/hm.js?3b78f49ba47181e4d998a66b689446e9",e=document.getElementsByTagName("script")[0],e.parentNode.insertBefore(t,e)})()</script><meta
charset=utf-8><meta name=viewport con [...]
<script>var
doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function
gtag(){dataLayer.push(arguments)}gtag("js",new
Date),gtag("config","G-NM6FFMT51J",{anonymize_ip:!1})}</script><link
rel=preload
href=/scss/main.min.827bbd3e83b1e0c66a1c08738c713f88f8068e84600146c2dbf9035f0f496f01.css
as=style><link
href=/scss/main.min.827bbd3e83b1e0c66a1c08738c713f88f8068e84600146c2dbf9035f0f496f01.css
rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js
integrity="sha256-9/a [...]
-<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3><meta
name=theme-color content="#326ce5"><link rel=stylesheet
href=/css/feature-states.css><meta name=description content="1 介绍
Gson是Google公司发布的一个开放源代码的Java库,主要用途为序列化Java对象为JSON字符串,或反序列化JSON字符串成Java对象。
-2 使用方式 2.1 添加依赖 <dependencies> <dependency>
<groupId>org.apache.dubbo.extensions</groupId>
<artifactId>dubbo-serialization-gson</artifactId> <version>1.0.1</version>
</dependency> <dependency> <groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId> <version>2.10.1</version> </dependency>
</dependencies> 2.2 配置启用 # application.yml (Spring Boot) dubbo: protocol:
serialization: gson 或
-# dubbo.properties dubbo.protocol.serialization=gson # or
dubbo.consumer.serialization=gson # or
dubbo.reference.com.demo.DemoService.serialization=gson 或
-<dubbo:protocol serialization="gson" /> <!-- or --> <dubbo:consumer
serialization="gson" /> <!-- or --> <dubbo:reference
interface="xxx" serialization="gson" /> "><meta
property="og:description" content="1 介绍
Gson是Google公司发布的一个开放源代码的Java库,主要用途为序列化Java对象为JSON字符串,或反序列化JSON字符串成Java对象。
-2 使用方式 2.1 添加依赖 <dependencies> <dependency>
<groupId>org.apache.dubbo.extensions</groupId>
<artifactId>dubbo-serialization-gson</artifactId> <version>1.0.1</version>
</dependency> <dependency> <groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId> <version>2.10.1</version> </dependency>
</dependencies> 2.2 配置启用 # application.yml (Spring Boot) dubbo: protocol:
serialization: gson 或
-# dubbo.properties dubbo.protocol.serialization=gson # or
dubbo.consumer.serialization=gson # or
dubbo.reference.com.demo.DemoService.serialization=gson 或
-<dubbo:protocol serialization="gson" /> <!-- or --> <dubbo:consumer
serialization="gson" /> <!-- or --> <dubbo:reference
interface="xxx" serialization="gson" /> "><meta
name=twitter:description content="1 介绍
Gson是Google公司发布的一个开放源代码的Java库,主要用途为序列化Java对象为JSON字符串,或反序列化JSON字符串成Java对象。
-2 使用方式 2.1 添加依赖 <dependencies> <dependency>
<groupId>org.apache.dubbo.extensions</groupId>
<artifactId>dubbo-serialization-gson</artifactId> <version>1.0.1</version>
</dependency> <dependency> <groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId> <version>2.10.1</version> </dependency>
</dependencies> 2.2 配置启用 # application.yml (Spring Boot) dubbo: protocol:
serialization: gson 或
-# dubbo.properties dubbo.protocol.serialization=gson # or
dubbo.consumer.serialization=gson # or
dubbo.reference.com.demo.DemoService.serialization=gson 或
-<dubbo:protocol serialization="gson" /> <!-- or --> <dubbo:consumer
serialization="gson" /> <!-- or --> <dubbo:reference
interface="xxx" serialization="gson" /> "><meta
property="og:url"
content="https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/gson/"><meta
property="og:title" content="Gson"><meta name=twitter:title
content="Gson"><meta name=twitter:image:alt content="Apache Dubbo"><meta
property="og:type" content= [...]
+<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3><meta
name=theme-color content="#326ce5"><link rel=stylesheet
href=/css/feature-states.css><meta name=description content="本文介绍 Gson
序列化"><meta property="og:description" content="本文介绍 Gson 序列化"><meta
name=twitter:description content="本文介绍 Gson 序列化"><meta property="og:url"
content="https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/gson/"><meta
property="og:title" content="Gson" [...]
<link href=/css/community.css rel=stylesheet><link href=/css/contactus.css
rel=stylesheet><link href=/css/language.css rel=stylesheet><script
src=/js/script.js></script></head><body class="td-page
td-documentation"><header><nav class="js-navbar-scroll navbar navbar-expand
navbar-dark flex-column flex-md-row td-navbar" data-auto-burger=primary><a
class=navbar-brand href=/zh-cn/><span class=navbar-logo></span><span
class="text-uppercase font-weight-bold">Apache Dubbo</span></a><div class="
[...]
<label for=m-zh-cnoverviewhome-check><a href=/zh-cn/overview/home/
title="Dubbo 文档" class="align-left pl-0 td-sidebar-link
td-sidebar-link__section"
id=m-zh-cnoverviewhome><span>主页</span></a></label></li><li
class="td-sidebar-nav__section-title td-sidebar-nav__section with-child"
id=m-zh-cnoverviewquickstart-li><input type=checkbox
id=m-zh-cnoverviewquickstart-check>
<label for=m-zh-cnoverviewquickstart-check><a href=/zh-cn/overview/quickstart/
title="Dubbo 入门" class="align-left pl-0 td-sidebar-link
td-sidebar-link__section"
id=m-zh-cnoverviewquickstart><span>入门</span></a></label><ul class="ul-2
foldable"><li class="td-sidebar-nav__section-title td-sidebar-nav__section
with-child" id=m-zh-cnoverviewquickstartjava-li><input type=checkbox
id=m-zh-cnoverviewquickstartjava-check>
@@ -688,7 +670,7 @@
<label for=m-zh-cnoverviewreferenceprotocols-check><a
href=/zh-cn/overview/reference/protocols/ class="align-left pl-0
td-sidebar-link td-sidebar-link__section"
id=m-zh-cnoverviewreferenceprotocols><span>协议规范</span></a></label><ul
class="ul-3 foldable"><li class="td-sidebar-nav__section-title
td-sidebar-nav__section without-child"
id=m-zh-cnoverviewreferenceprotocolstriple-li><input type=checkbox
id=m-zh-cnoverviewreferenceprotocolstriple-check>
<label for=m-zh-cnoverviewreferenceprotocolstriple-check><a
href=/zh-cn/overview/reference/protocols/triple/ title="Triple 协议设计理念与规范"
class="align-left pl-0 td-sidebar-link td-sidebar-link__page"
id=m-zh-cnoverviewreferenceprotocolstriple><span>Triple
协议规范</span></a></label></li><li class="td-sidebar-nav__section-title
td-sidebar-nav__section without-child"
id=m-zh-cnoverviewreferenceprotocolstcp-li><input type=checkbox
id=m-zh-cnoverviewreferenceprotocolstcp-check>
<label for=m-zh-cnoverviewreferenceprotocolstcp-check><a
href=/zh-cn/overview/reference/protocols/tcp/ class="align-left pl-0
td-sidebar-link td-sidebar-link__page"
id=m-zh-cnoverviewreferenceprotocolstcp><span>Dubbo2
协议规范</span></a></label></li><li class="td-sidebar-nav__section-title
td-sidebar-nav__section without-child"
id=m-zh-cnoverviewreferenceprotocolshttp-li><input type=checkbox
id=m-zh-cnoverviewreferenceprotocolshttp-check>
-<label for=m-zh-cnoverviewreferenceprotocolshttp-check><a
href=/zh-cn/overview/reference/protocols/http/ class="align-left pl-0
td-sidebar-link td-sidebar-link__page"
id=m-zh-cnoverviewreferenceprotocolshttp><span>HTTP
协议规范</span></a></label></li></ul></li></ul></li></ul></li></ul></nav></div></div><main
class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb
class=td-breadcrumbs><ol class=breadcrumb><li class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-c [...]
+<label for=m-zh-cnoverviewreferenceprotocolshttp-check><a
href=/zh-cn/overview/reference/protocols/http/ class="align-left pl-0
td-sidebar-link td-sidebar-link__page"
id=m-zh-cnoverviewreferenceprotocolshttp><span>HTTP
协议规范</span></a></label></li></ul></li></ul></li></ul></li></ul></nav></div></div><main
class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb
class=td-breadcrumbs><ol class=breadcrumb><li class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-c [...]
</span></span><span style=display:flex><span> <span
style=color:#268bd2><dependency></span>
</span></span><span style=display:flex><span> <span
style=color:#268bd2><groupId></span>org.apache.dubbo.extensions<span
style=color:#268bd2></groupId></span>
</span></span><span style=display:flex><span> <span
style=color:#268bd2><artifactId></span>dubbo-serialization-gson<span
style=color:#268bd2></artifactId></span>
@@ -720,7 +702,7 @@
</span></span><span style=display:flex><span> <span
style=color:#586e75><!-- or --></span>
</span></span><span style=display:flex><span><span
style=color:#268bd2><dubbo:reference</span> interface=<span
style=color:#2aa198>"xxx"</span> serialization=<span
style=color:#2aa198>"gson"</span> <span style=color:#268bd2>/></span>
</span></span></code></pre></div><div id=pre-footer><h2>反馈</h2><p
class=feedback--prompt>此页是否对您有帮助?</p><button class="btn btn-primary mb-4
feedback--yes">是</button>
-<button class="btn btn-primary mb-4
feedback--no">否</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disabled
[...]
+<button class="btn btn-primary mb-4
feedback--no">否</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disabled
[...]
<a
href="https://github.com/apache/dubbo-website/new/master/content/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/gson.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0
[...]
<a href="https://github.com/apache/dubbo-website/issues/new?title=Gson"
target=_blank><i class="fab fa-github fa-fw"></i> 登记问题</a>
<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> 提交项目问题</a></div></main><div class="d-none d-xl-block
col-xl-2 td-toc d-print-none"><nav id=TableOfContents><ul><li><a href=#1-介绍>1
介绍</a></li><li><a href=#2-使用方式>2 使用方式</a><ul><li><a href=#21-添加依赖>2.1
添加依赖</a></li><li><a href=#22-配置启用>2.2
配置启用</a></li></ul></li></ul></nav></div></div></div></div><footer
class="bg-dark py-5 row d-print-none footer-margin-0"><div
class="container-fluid mx-sm [...]
diff --git
a/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/index.html
b/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/index.html
index 9affb87c8f..d82f1a987f 100644
--- a/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/index.html
+++ b/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/index.html
@@ -670,7 +670,7 @@
<label for=m-zh-cnoverviewreferenceprotocols-check><a
href=/zh-cn/overview/reference/protocols/ class="align-left pl-0
td-sidebar-link td-sidebar-link__section"
id=m-zh-cnoverviewreferenceprotocols><span>协议规范</span></a></label><ul
class="ul-3 foldable"><li class="td-sidebar-nav__section-title
td-sidebar-nav__section without-child"
id=m-zh-cnoverviewreferenceprotocolstriple-li><input type=checkbox
id=m-zh-cnoverviewreferenceprotocolstriple-check>
<label for=m-zh-cnoverviewreferenceprotocolstriple-check><a
href=/zh-cn/overview/reference/protocols/triple/ title="Triple 协议设计理念与规范"
class="align-left pl-0 td-sidebar-link td-sidebar-link__page"
id=m-zh-cnoverviewreferenceprotocolstriple><span>Triple
协议规范</span></a></label></li><li class="td-sidebar-nav__section-title
td-sidebar-nav__section without-child"
id=m-zh-cnoverviewreferenceprotocolstcp-li><input type=checkbox
id=m-zh-cnoverviewreferenceprotocolstcp-check>
<label for=m-zh-cnoverviewreferenceprotocolstcp-check><a
href=/zh-cn/overview/reference/protocols/tcp/ class="align-left pl-0
td-sidebar-link td-sidebar-link__page"
id=m-zh-cnoverviewreferenceprotocolstcp><span>Dubbo2
协议规范</span></a></label></li><li class="td-sidebar-nav__section-title
td-sidebar-nav__section without-child"
id=m-zh-cnoverviewreferenceprotocolshttp-li><input type=checkbox
id=m-zh-cnoverviewreferenceprotocolshttp-check>
-<label for=m-zh-cnoverviewreferenceprotocolshttp-check><a
href=/zh-cn/overview/reference/protocols/http/ class="align-left pl-0
td-sidebar-link td-sidebar-link__page"
id=m-zh-cnoverviewreferenceprotocolshttp><span>HTTP
协议规范</span></a></label></li></ul></li></ul></li></ul></li></ul></nav></div></div><main
class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb
class=td-breadcrumbs><ol class=breadcrumb><li class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-c [...]
+<label for=m-zh-cnoverviewreferenceprotocolshttp-check><a
href=/zh-cn/overview/reference/protocols/http/ class="align-left pl-0
td-sidebar-link td-sidebar-link__page"
id=m-zh-cnoverviewreferenceprotocolshttp><span>HTTP
协议规范</span></a></label></li></ul></li></ul></li></ul></li></ul></nav></div></div><main
class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb
class=td-breadcrumbs><ol class=breadcrumb><li class=breadcrumb-item><a
href=https://cn.dubbo.apache.org/zh-c [...]
<button class="btn btn-primary mb-4
feedback--no">否</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disabled
[...]
<a
href="https://github.com/apache/dubbo-website/new/master/content/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/_index.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=%e5%ba%8f%e5%88%97%e5%8c%96"
target=_blank><i class="fab fa-github fa-fw"></i> 登记问题</a>
diff --git a/zh-cn/sitemap.xml b/zh-cn/sitemap.xml
index 3535b4bf48..4edaf794f0 100644
--- a/zh-cn/sitemap.xml
+++ b/zh-cn/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://cn.dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%E5%8D%87%E7%BA%A7-dubbo3-%E5%85%A8%E9%9D%A2%E5%8F%96%E4%BB%A3-hsf2/</loc><lastmod>2023-02-22T15:03:22+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://cn.dubbo.apache.org/zh-cn/overview/mannu
[...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://cn.dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%E5%8D%87%E7%BA%A7-dubbo3-%E5%85%A8%E9%9D%A2%E5%8F%96%E4%BB%A3-hsf2/</loc><lastmod>2023-02-22T15:03:22+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://cn.dubbo.apache.org/zh-cn/overview/mannu
[...]
\ No newline at end of file