Skip to content

Commit 4ca4fce

Browse files
kraitywenshao
authored andcommitted
docs: update description for kotlin library
Signed-off-by: Kraity <kraty@krait.cn>
1 parent 6a09ae6 commit 4ca4fce

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ dependencies {
9393
</dependency>
9494
```
9595

96+
酌情添加标准库(kotlin-stdlib)、反射库(kotlin-reflect),
97+
其中若使用数据类(data class)、通过构造函数传入参数则添加反射库。
98+
9699
```xml
97100
<dependency>
98101
<groupId>org.jetbrains.kotlin</groupId>

README_EN.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ If your project uses `kotlin`, you can use the `Fastjson-Kotlin` module, and use
9999
</dependency>
100100
```
101101

102+
Add standard library(kotlin-stdlib) and reflection library(kotlin-reflect) as appropriate.
103+
If the data class is used or the parameters are passed in through constructor, then add reflection library.
104+
102105
```xml
103106
<dependency>
104107
<groupId>org.jetbrains.kotlin</groupId>

docs/kotlin_cn.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
</dependency>
1515
```
1616

17+
酌情添加标准库(kotlin-stdlib)、反射库(kotlin-reflect),
18+
其中若使用数据类(data class)、通过构造函数传入参数则添加反射库。
19+
1720
```xml
1821
<dependency>
1922
<groupId>org.jetbrains.kotlin</groupId>

docs/kotlin_en.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ If your project uses `kotlin`, you can use the` Fastjson-Kotlin` module, and use
1414
</dependency>
1515
```
1616

17+
Add standard library(kotlin-stdlib) and reflection library(kotlin-reflect) as appropriate.
18+
If the data class is used or the parameters are passed in through constructor, then add reflection library.
19+
1720
```xml
1821
<dependency>
1922
<groupId>org.jetbrains.kotlin</groupId>

0 commit comments

Comments
 (0)