mirror of https://github.com/alibaba/fastjson2.git
2.0.57 -> 2.0.58
This commit is contained in:
parent
a7f2faca1f
commit
fe2a28eb30
10
README.md
10
README.md
|
@ -49,7 +49,7 @@
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.57'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.58'
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -75,7 +75,7 @@ dependencies {
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba:fastjson:2.0.57'
|
||||
implementation 'com.alibaba:fastjson:2.0.58'
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -114,7 +114,7 @@ dependencies {
|
|||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.57")
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.58")
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -151,14 +151,14 @@ dependencies {
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.57'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.58'
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.57'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.58'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ Related Documents:
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.57'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.58'
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -81,7 +81,7 @@ If you are using `fastjson 1.2.x`, you can use the compatibility package. The co
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba:fastjson:2.0.57'
|
||||
implementation 'com.alibaba:fastjson:2.0.58'
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -120,7 +120,7 @@ If the data class is used or the parameters are passed in through constructor, t
|
|||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.57")
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.58")
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.57'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.58'
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -65,7 +65,7 @@ dependencies {
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba:fastjson:2.0.57'
|
||||
implementation 'com.alibaba:fastjson:2.0.58'
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -87,7 +87,7 @@ dependencies {
|
|||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.57")
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.58")
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -109,7 +109,7 @@ dependencies {
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.57'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.58'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.57")
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.58")
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ If the data class is used or the parameters are passed in through constructor, t
|
|||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.57")
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.58")
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -26,13 +26,13 @@ or
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.57'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.58'
|
||||
}
|
||||
|
||||
or
|
||||
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.57'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.58'
|
||||
}
|
||||
```
|
||||
> 2.0.23版本之后为了兼容Spring 5.x / 6.x,将不同版本独立开不同的依赖包。
|
||||
|
|
|
@ -27,13 +27,13 @@ or
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.57'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.58'
|
||||
}
|
||||
|
||||
or
|
||||
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.57'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.58'
|
||||
}
|
||||
```
|
||||
> After version 2.0.23, in order to be compatible with Spring 5.x / 6.x, different versions are independently opened with different dependency packages.
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
JDK 17中提供了[vector api](https://openjdk.org/jeps/426),可以用SIMD来优化性能。
|
||||
|
||||
fastjson 2.0.57版本开始全面使用SWAR(SIMD within a register)来做SIMD优化,不再需要使用vector api.
|
||||
fastjson 2.0.58版本开始全面使用SWAR(SIMD within a register)来做SIMD优化,不再需要使用vector api.
|
||||
|
|
Loading…
Reference in New Issue