This is an automated email from the ASF dual-hosted git repository.

chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 5ea4f9ef 🔄 synced local 'docs/guide/' with remote 'docs/guide/'
5ea4f9ef is described below

commit 5ea4f9efca0573e054afbe462d495e357acd5eb8
Author: chaokunyang <[email protected]>
AuthorDate: Fri Jul 4 01:23:59 2025 +0000

    🔄 synced local 'docs/guide/' with remote 'docs/guide/'
---
 docs/guide/scala_guide.md | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

diff --git a/docs/guide/scala_guide.md b/docs/guide/scala_guide.md
index 1969ebf5..b3576492 100644
--- a/docs/guide/scala_guide.md
+++ b/docs/guide/scala_guide.md
@@ -31,19 +31,13 @@ Scala 2 and 3 are both supported.
 
 ## Install
 
-To add a dependency on Fory scala for scala 2 with sbt, use the following:
+To add a dependency on Fory scala for with sbt, use the following:
 
 ```sbt
-libraryDependencies += "org.apache.fory" % "fory-scala_2.13" % "0.11.1"
+libraryDependencies += "org.apache.fory" %% "fory-scala" % "0.11.1"
 ```
 
-To add a dependency on Fory scala for scala 3 with sbt, use the following:
-
-```sbt
-libraryDependencies += "org.apache.fory" % "fory-scala_3" % "0.11.1"
-```
-
-## Quict Start
+## Quick Start
 
 ```scala
 case class Person(name: String, id: Long, github: String)
@@ -93,7 +87,7 @@ Note that fory instance should be shared between multiple 
serialization, the cre
 
 If you use shared fory instance across multiple threads, you should create 
`ThreadSafeFory` instead by `ForyBuilder#buildThreadSafeFory()` instead.
 
-## Serialize case object
+## Serialize case class
 
 ```scala
 case class Person(github: String, age: Int, id: Long)
@@ -135,9 +129,9 @@ println(fory.deserialize(fory.serialize(map)))
 ## Serialize Tuple
 
 ```scala
-val tuple = Tuple2(100, 10000L)
+val tuple = (100, 10000L) //Tuple2
 println(fory.deserialize(fory.serialize(tuple)))
-val tuple = Tuple4(100, 10000L, 10000L, "str")
+val tuple = (100, 10000L, 10000L, "str") //Tuple4
 println(fory.deserialize(fory.serialize(tuple)))
 ```
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to