directory
Version:
v0.0.0-...-156932d
Opens a new window with list of versions in this module.
Published: Apr 14, 2024
License: Apache-2.0
Opens a new window with license information.
README
¶
序列化
这里整理了一些序列化(主要是json,pb)的测试代码,这两种序列化方式使用比较多,也有些细节需要注意下.
- 比如大数问题
- 比如新增的枚举值问题
- 比如字段命名问题
- 比如pb有没有设置0值问题(pb2/pb3的显著区别是pb3 0值默认不参与编码,除非显示指定optional)
- 比如pb转json时0值字段丢失问题(jsonpb解决)
- ...
Directories
¶
Click to show internal directories.
Click to hide internal directories.