mirror of https://github.com/alibaba/fastjson2.git
2.0.38 release
This commit is contained in:
parent
aa57a2f0ae
commit
8674d5ca55
20
README.md
20
README.md
|
|
@ -41,7 +41,7 @@
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.37'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.39-SNAPSHOT'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -67,7 +67,7 @@ dependencies {
|
|||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -75,7 +75,7 @@ dependencies {
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba:fastjson:2.0.37'
|
||||
implementation 'com.alibaba:fastjson:2.0.39-SNAPSHOT'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -89,7 +89,7 @@ dependencies {
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-kotlin</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ dependencies {
|
|||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.37")
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.39-SNAPSHOT")
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -132,7 +132,7 @@ dependencies {
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension-spring5</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -140,7 +140,7 @@ dependencies {
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension-spring6</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -148,14 +148,14 @@ dependencies {
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.37'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.39-SNAPSHOT'
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.37'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.39-SNAPSHOT'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
16
README_EN.md
16
README_EN.md
|
|
@ -47,7 +47,7 @@ Related Documents:
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ Related Documents:
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.37'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.39-SNAPSHOT'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -73,7 +73,7 @@ If you are using `fastjson 1.2.x`, you can use the compatibility package. The co
|
|||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -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.37'
|
||||
implementation 'com.alibaba:fastjson:2.0.39-SNAPSHOT'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -95,7 +95,7 @@ If your project uses `kotlin`, you can use the `Fastjson-Kotlin` module, and use
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-kotlin</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -117,7 +117,7 @@ If your project uses `kotlin`, you can use the `Fastjson-Kotlin` module, and use
|
|||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.37")
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.39-SNAPSHOT")
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -138,7 +138,7 @@ If your project uses a framework such as `SpringFramework`, you can use the `fas
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -146,7 +146,7 @@ If your project uses a framework such as `SpringFramework`, you can use the `fas
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.37'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.39-SNAPSHOT'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.37'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2:2.0.39-SNAPSHOT'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ dependencies {
|
|||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -65,7 +65,7 @@ dependencies {
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba:fastjson:2.0.37'
|
||||
implementation 'com.alibaba:fastjson:2.0.39-SNAPSHOT'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -79,7 +79,7 @@ dependencies {
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-kotlin</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -87,7 +87,7 @@ dependencies {
|
|||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.37")
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.39-SNAPSHOT")
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -101,7 +101,7 @@ dependencies {
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -109,7 +109,7 @@ dependencies {
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.37'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension:2.0.39-SNAPSHOT'
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-kotlin</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.37")
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.39-SNAPSHOT")
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ If your project uses `kotlin`, you can use the` Fastjson-Kotlin` module, and use
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-kotlin</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -32,7 +32,7 @@ If your project uses `kotlin`, you can use the` Fastjson-Kotlin` module, and use
|
|||
|
||||
```kotlin
|
||||
dependencies {
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.37")
|
||||
implementation("com.alibaba.fastjson2:fastjson2-kotlin:2.0.39-SNAPSHOT")
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Fastjson2采用多module的结构设计,对SpringFramework等框架的支持
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension-spring5</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
or
|
||||
|
|
@ -18,7 +18,7 @@ or
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension-spring6</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -26,13 +26,13 @@ or
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.37'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.39-SNAPSHOT'
|
||||
}
|
||||
|
||||
or
|
||||
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.37'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.39-SNAPSHOT'
|
||||
}
|
||||
```
|
||||
> 2.0.23版本之后为了兼容Spring 5.x / 6.x,将不同版本独立开不同的依赖包。
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ independent in the `extension` dependency.
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension-spring5</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
or
|
||||
|
|
@ -19,7 +19,7 @@ or
|
|||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-extension-spring6</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
@ -27,13 +27,13 @@ or
|
|||
|
||||
```groovy
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.37'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring5:2.0.39-SNAPSHOT'
|
||||
}
|
||||
|
||||
or
|
||||
|
||||
dependencies {
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.37'
|
||||
implementation 'com.alibaba.fastjson2:fastjson2-extension-spring6:2.0.39-SNAPSHOT'
|
||||
}
|
||||
```
|
||||
> 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,13 +1,13 @@
|
|||
JDK 17中提供了[vector api](https://openjdk.org/jeps/426),可以用SIMD来优化性能。
|
||||
|
||||
fastjson 2.0.37中已经支持vector api,这个优化目前处于incubator状态,需要通过如下方法打开:
|
||||
fastjson 2.0.39-SNAPSHOT中已经支持vector api,这个优化目前处于incubator状态,需要通过如下方法打开:
|
||||
|
||||
加上依赖
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-incubator-vector</artifactId>
|
||||
<version>2.0.37</version>
|
||||
<version>2.0.39-SNAPSHOT</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
|
||||
<maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
|
||||
<fastjson2.version>2.0.38-SNAPSHOT</fastjson2.version>
|
||||
<fastjson2.version>2.0.38</fastjson2.version>
|
||||
<imageName>fastjson2-example-graalvm-native</imageName>
|
||||
</properties>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<properties>
|
||||
<maven.test.skip>true</maven.test.skip>
|
||||
<maven.deploy.skip>true</maven.deploy.skip>
|
||||
<fastjson2.version>2.0.38-SNAPSHOT</fastjson2.version>
|
||||
<fastjson2.version>2.0.38</fastjson2.version>
|
||||
<java.version>17</java.version>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
|||
2
pom.xml
2
pom.xml
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<name>${project.artifactId}</name>
|
||||
<description>Fastjson is a JSON processor (JSON parser + JSON generator) written in Java</description>
|
||||
<packaging>pom</packaging>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
<artifactId>fastjson2-parent</artifactId>
|
||||
<version>2.0.38-SNAPSHOT</version>
|
||||
<version>2.0.38</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue