chaokunyang commented on code in PR #169: URL: https://github.com/apache/fury-site/pull/169#discussion_r1730041891
########## i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala_guide.md: ########## @@ -0,0 +1,138 @@ +--- +title: Scala 序列化指南 +sidebar_position: 4 +id: scala_guide +--- + +Apache Fury 支持所有 Scala 对象序列化: + +- `case` 支持类序列化; +- `pojo/bean` 支持类序列化; +- `object` 支持单例序列化; +- `collection` 支持序列化; +- 其他类型(如 `tuple/either` AND BASIC 类型)也都受支持。 + +Scala 2 和 3 均支持。 + +## 安装 + +```sbt +libraryDependencies += "org.apache.fury" % "fury-core" % "0.7.0" +``` + +## Apache Fury 创建 + +当使用 Apache Fury 进行 Scala 序列化时,您应该至少使用以下选项创建 Apache Fury 对象: Review Comment: ```suggestion 当使用 Apache Fury 进行 Scala 序列化时,您应该至少使用以下选项创建 Fury 对象: ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
