Skip to content

Commit 16d80b3

Browse files
committed
clarify serialization readme even more
1 parent c9f26e8 commit 16d80b3

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

serialization/README.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# klite-serialization
22

33
Allows using `kotlinx-serialization` to read and write objects.
4-
Json format is provided using [JsonBody](src/JsonBody.kt), but other formats may be added easily in future.
4+
Json format is provided using [JsonBody](src/JsonBody.kt), but other formats may be added easily in the future.
55

6-
Please [include kotlinx-serialization](build.gradle.kts), it's plugin and optionally kotlinx-datetime as
6+
Please [add kotlinx-serialization and enable it's compiler plugin](build.gradle.kts), and optionally kotlinx-datetime as
77
dependencies of your own project.
88

9-
Note: a disadvantage of Kotlin Serialization is that you cannot register custom serializers globally, e.g.
10-
for java.util.UUID, etc and need to annotate them in every class or file.
9+
## Status
10+
11+
I rather recommend using [jackson](../jackson) module instead.
12+
13+
A disadvantage of Kotlin Serialization is that you cannot register custom serializers globally, e.g. for java.util.UUID, etc and need to annotate them in every class or file.
14+
1115
See https://github.com/Kotlin/kotlinx.serialization/issues/507

serialization/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
kotlin("plugin.serialization") version "1.6.10"
2+
kotlin("plugin.serialization") version "1.7.10"
33
}
44

55
dependencies {

0 commit comments

Comments
 (0)