From 7fa12ee5a6ef7bc29a0c7cf6e38fdcd1512fac96 Mon Sep 17 00:00:00 2001 From: duofuwang <53636916+duofuwang@users.noreply.github.com> Date: Fri, 28 Aug 2026 15:33:40 +0800 Subject: [PATCH] Fix grammar in Protobuf description Corrected a grammatical error in the Protobuf section for clarity. --- docs/java/basis/serialization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/java/basis/serialization.md b/docs/java/basis/serialization.md index f800014e4a8..04470673a6f 100644 --- a/docs/java/basis/serialization.md +++ b/docs/java/basis/serialization.md @@ -185,7 +185,7 @@ GitHub 地址:[https://github.com/EsotericSoftware/kryo](https://github.com/Es ### Protobuf -Protobuf 出自于 Google,性能还比较优秀,也支持多种语言,同时还是跨平台的。就是在使用中过于繁琐,因为你需要自己定义 IDL 文件和生成对应的序列化代码。这样虽然不灵活,但是,另一方面导致 protobuf 没有序列化漏洞的风险。 +Protobuf 出自于 Google,性能还比较优秀,也支持多种语言,同时还是跨平台的。就是在使用中过于繁琐,因为你需要自己定义 IDL 文件和生成对应的序列化代码。这样虽然不灵活,但另一方面也避免了 protobuf 出现序列化漏洞的风险。 > Protobuf 包含序列化格式的定义、各种语言的库以及一个 IDL 编译器。正常情况下你需要定义 proto 文件,然后使用 IDL 编译器编译成你需要的语言