wenshao
82319f21c3
revert
2025-08-20 15:26:38 +08:00
wenshao
38a5f4241c
修复Javadoc引用错误,修正JSONReader和JSONWriter中的链接引用
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-08-20 15:23:24 +08:00
wenshao
4967702130
revert
2025-08-20 11:52:55 +08:00
wenshao
f4537def9b
完善features文档,添加使用示例和最佳实践建议,并更新相关文档引用
2025-08-20 11:32:58 +08:00
wenshao
928930ddd2
Update code style documentation and remove unused presto-checks.xml
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-08-20 11:23:41 +08:00
wenshao
74018e4f19
java doc
2025-08-20 11:17:41 +08:00
wenshao
559ba1d777
fix java doc
2025-08-18 15:08:29 +08:00
wenshao
fc86418805
Fix trailing whitespace in IOUtils#writeDecimal method comments to pass checkstyle validation
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-08-18 14:22:25 +08:00
wenshao
cfb3fd069f
Fix IOUtils.isNumber() edge cases and add tests
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-08-18 14:16:20 +08:00
wenshao
a551e7f645
Fix bug in JSONWriterUTF8.writeString with offset parameter
...
Fixed incorrect loop condition in writeString(char[], int, int, boolean) method where 'i < len' was used instead of 'i < end'. This bug caused incorrect string processing when offset parameter was non-zero.
Added test case to verify the fix works correctly with offset values.
2025-08-18 13:06:04 +08:00
wenshao
5858859330
Fix bug in JSONWriterUTF16.writeString with incorrect loop condition
...
The loop condition in writeString(char[], int, int, boolean) was incorrectly using 'i < len' instead of 'i < offset + len', causing wrong character range to be processed. Fixed by changing the loop condition to properly handle offset and length parameters.
Added comprehensive test cases to verify the fix works correctly for various scenarios including edge cases and out-of-bounds conditions.
2025-08-18 12:01:50 +08:00
wenshao
b23c365896
Fix bug in Path.toString() method with Unicode surrogate pairs handling\n\nFixed an issue where the wrong loop variable 'i' was used instead of 'j' when processing Unicode surrogate pairs in JSON field names. This caused ArrayIndexOutOfBoundsException or incorrect results when serializing JSON with emoji keys or other Unicode characters represented by surrogate pairs.\n\nAdded test cases to verify the fix works correctly with various Unicode characters including emojis.
2025-08-18 11:35:44 +08:00
wenshao
c0f1125166
Fix missing break statement in setDateFormat method for 'yyyyMMddHHmmssSSSZ' case
2025-08-18 09:49:03 +08:00
dependabot[bot]
d9ca7d29ac
Bump commons-io:commons-io from 2.19.0 to 2.20.0
...
Bumps [commons-io:commons-io](https://github.com/apache/commons-io ) from 2.19.0 to 2.20.0.
- [Changelog](https://github.com/apache/commons-io/blob/master/RELEASE-NOTES.txt )
- [Commits](https://github.com/apache/commons-io/compare/rel/commons-io-2.19.0...rel/commons-io-2.20.0 )
---
updated-dependencies:
- dependency-name: commons-io:commons-io
dependency-version: 2.20.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-17 20:21:19 +08:00
dependabot[bot]
4b771e1e2c
Bump com.opencsv:opencsv from 5.10 to 5.12.0
...
Bumps com.opencsv:opencsv from 5.10 to 5.12.0.
---
updated-dependencies:
- dependency-name: com.opencsv:opencsv
dependency-version: 5.12.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-17 20:21:06 +08:00
dependabot[bot]
4e4af4da6c
Bump io.projectreactor:reactor-test from 3.1.0.RELEASE to 3.7.9
...
Bumps [io.projectreactor:reactor-test](https://github.com/reactor/reactor-core ) from 3.1.0.RELEASE to 3.7.9.
- [Release notes](https://github.com/reactor/reactor-core/releases )
- [Commits](https://github.com/reactor/reactor-core/compare/v3.1.0.RELEASE...v3.7.9 )
---
updated-dependencies:
- dependency-name: io.projectreactor:reactor-test
dependency-version: 3.7.9
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-17 20:20:54 +08:00
dependabot[bot]
b7e2a91017
Bump org.apache.commons:commons-collections4 from 4.4 to 4.5.0
...
Bumps org.apache.commons:commons-collections4 from 4.4 to 4.5.0.
---
updated-dependencies:
- dependency-name: org.apache.commons:commons-collections4
dependency-version: 4.5.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-17 20:20:42 +08:00
rowstop
0fbc32480d
Update the docs to include Fastjson2 integration with Spring WebFlux.
2025-08-17 20:20:22 +08:00
mymde
d66d0cf537
fixed bug for issue #3702
2025-08-17 20:20:01 +08:00
jujn
92bd063907
fix bug for issue #3719 ( #3721 )
2025-08-17 20:18:06 +08:00
jiangguilong
08c2f3089d
docs(JSONB): 更新 JSONB 解析配置示例
...
将 JSONB 解析配置示例中的 JSONReader.Feature 从 SupportBeanArrayMapping 修改为 SupportArrayToBean,以反映正确的配置选项。
2025-08-17 20:16:59 +08:00
dependabot[bot]
88873ce86e
Bump io.github.git-commit-id:git-commit-id-maven-plugin
...
Bumps [io.github.git-commit-id:git-commit-id-maven-plugin](https://github.com/git-commit-id/git-commit-id-maven-plugin ) from 9.0.0 to 9.0.2.
- [Release notes](https://github.com/git-commit-id/git-commit-id-maven-plugin/releases )
- [Commits](https://github.com/git-commit-id/git-commit-id-maven-plugin/compare/v9.0.0...v9.0.2 )
---
updated-dependencies:
- dependency-name: io.github.git-commit-id:git-commit-id-maven-plugin
dependency-version: 9.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 09:30:50 +08:00
wenshao
8cad1d6225
improve java doc
2025-08-11 16:00:03 +08:00
wenshao
710421bcd3
add qwen-code init file
2025-08-11 15:44:58 +08:00
jujn
913aa3a703
fixed bug for issue #3702 ( #3704 )
2025-08-11 14:06:50 +08:00
dependabot[bot]
1611988eb5
Bump org.msgpack:msgpack-core from 0.9.9 to 0.9.10
...
Bumps [org.msgpack:msgpack-core](https://github.com/msgpack/msgpack-java ) from 0.9.9 to 0.9.10.
- [Release notes](https://github.com/msgpack/msgpack-java/releases )
- [Changelog](https://github.com/msgpack/msgpack-java/blob/main/RELEASE_NOTES.md )
- [Commits](https://github.com/msgpack/msgpack-java/compare/v0.9.9...v0.9.10 )
---
updated-dependencies:
- dependency-name: org.msgpack:msgpack-core
dependency-version: 0.9.10
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 10:12:11 +08:00
wenshao
b507fea22d
fix dateFormat for long field, for issue #3407
2025-08-10 21:11:57 +08:00
zhou yong kang
a47c68d468
fix:correctly handle the set format and successfully parse it #3692 ( #3701 )
...
* fix:correctly handle the set format and successfully parse it into a hashset object #3692
* Update core/src/main/java/com/alibaba/fastjson2/reader/ObjectArrayReader.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update core/src/main/java/com/alibaba/fastjson2/reader/ObjectArrayReader.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix:add list support
---------
Co-authored-by: Shaojin Wen <shaojin.wensj@alibaba-inc.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-07 18:58:09 +08:00
张治保
4cc881e556
support for Spring's reactor codec, #3691 #1501 ( #3703 )
...
* support for Spring's reactor codec, #3691 #1501
* Update extension-spring5/src/main/java/com/alibaba/fastjson2/support/spring/codec/Fastjson2Encoder.java
extracting the string value to a variable to avoid casting twice and improve readability
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: update deprecation notice for Fastjson2Encoder to include Fastjson2Decoder
* extracting the byte[] value to a variable to avoid casting twice and improve readability
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-07 18:56:32 +08:00
dependabot[bot]
41ac35f8e9
Bump org.apache.dubbo:dubbo from 3.3.4 to 3.3.5
...
Bumps [org.apache.dubbo:dubbo](https://github.com/apache/dubbo ) from 3.3.4 to 3.3.5.
- [Release notes](https://github.com/apache/dubbo/releases )
- [Changelog](https://github.com/apache/dubbo/blob/3.3/CHANGES.md )
- [Commits](https://github.com/apache/dubbo/compare/dubbo-3.3.4...dubbo-3.3.5 )
---
updated-dependencies:
- dependency-name: org.apache.dubbo:dubbo
dependency-version: 3.3.5
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-05 11:17:56 +08:00
yulin
161bed23e6
docs: update markdown version
2025-08-04 10:48:04 +08:00
wenshao
fe2a28eb30
2.0.57 -> 2.0.58
2025-08-04 10:45:48 +08:00
高铁
a7f2faca1f
add testcase for issue #3605
2025-08-04 09:06:28 +08:00
wenshao
b23afe2a47
add comments
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, macos-latest) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, ubuntu-24.04) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, windows-latest) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, macos-latest) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, ubuntu-24.04) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, windows-latest) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, macos-latest) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, ubuntu-24.04) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, windows-latest) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, macos-latest) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, ubuntu-24.04) (push) Has been cancelled
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, windows-latest) (push) Has been cancelled
Details
2025-08-02 22:57:47 +08:00
wenshao
c365b29280
add testcase for issue #3687
2025-08-02 22:50:19 +08:00
wenshao
cb4ea2d518
support more base64 decode, for issue #3687
2025-08-02 21:20:01 +08:00
wenshao
0057929154
add testcase
2025-08-02 21:20:01 +08:00
dependabot[bot]
1418c30f7e
Bump cn.hutool:hutool-all from 5.8.36 to 5.8.39
...
Bumps [cn.hutool:hutool-all](https://github.com/looly/hutool ) from 5.8.36 to 5.8.39.
- [Release notes](https://github.com/looly/hutool/releases )
- [Changelog](https://github.com/chinabugotech/hutool/blob/v5-master/CHANGELOG.md )
- [Commits](https://github.com/looly/hutool/compare/5.8.36...5.8.39 )
---
updated-dependencies:
- dependency-name: cn.hutool:hutool-all
dependency-version: 5.8.39
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-02 19:31:24 +08:00
dependabot[bot]
7ae534e874
Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.5.0 to 3.6.1
...
Bumps [org.apache.maven.plugins:maven-enforcer-plugin](https://github.com/apache/maven-enforcer ) from 3.5.0 to 3.6.1.
- [Release notes](https://github.com/apache/maven-enforcer/releases )
- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.5.0...enforcer-3.6.1 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-enforcer-plugin
dependency-version: 3.6.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-02 19:31:09 +08:00
dependabot[bot]
14e93331d1
Bump org.json:json from 20250107 to 20250517
...
Bumps [org.json:json](https://github.com/douglascrockford/JSON-java ) from 20250107 to 20250517.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases )
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md )
- [Commits](https://github.com/douglascrockford/JSON-java/commits )
---
updated-dependencies:
- dependency-name: org.json:json
dependency-version: '20250517'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-02 19:31:02 +08:00
dependabot[bot]
28e98ec4a9
Bump org.msgpack:jackson-dataformat-msgpack from 0.9.9 to 0.9.10
...
Bumps [org.msgpack:jackson-dataformat-msgpack](https://github.com/msgpack/msgpack-java ) from 0.9.9 to 0.9.10.
- [Release notes](https://github.com/msgpack/msgpack-java/releases )
- [Changelog](https://github.com/msgpack/msgpack-java/blob/main/RELEASE_NOTES.md )
- [Commits](https://github.com/msgpack/msgpack-java/compare/v0.9.9...v0.9.10 )
---
updated-dependencies:
- dependency-name: org.msgpack:jackson-dataformat-msgpack
dependency-version: 0.9.10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-02 19:30:54 +08:00
西东
2ce7cecbf2
solon upgraded to v3.4.2 ( #3682 )
...
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, windows-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, windows-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, windows-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, windows-latest) (push) Waiting to run
Details
* solon upgraded to v3.2.0
* solon upgraded to v3.4.2
2025-08-01 20:33:32 +08:00
mayuming
8e2e914a99
fix bug for issue #3620 ( #3680 )
...
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, windows-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, windows-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, windows-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, windows-latest) (push) Waiting to run
Details
* fix bug for issue #3665
* fix bug for issue #3620
* Revert "fix bug for issue #3620"
This reverts commit 989a6b6293
.
* fix bug for issue #3620
* Revert "fix bug for issue #3620"
This reverts commit 585f294c3a
.
* fix bug for issue #3620
* fix bug for issue #3620
* Revert "fix bug for issue #3620"
This reverts commit e67f48a5ae
.
* Revert "fix bug for issue #3620"
This reverts commit 81f54fc66c
.
* fix bug for issue #3620
---------
Co-authored-by: mayuming <zh2460064248@163.com>
2025-08-01 13:57:51 +08:00
wenshao
c0fe6f1aa1
fix fastjson 1.x compatible
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, windows-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, windows-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, windows-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, windows-latest) (push) Waiting to run
Details
2025-07-31 14:59:42 +08:00
wenshao
cb035add9b
more project using
2025-07-31 14:37:49 +08:00
Farahani
4d26ae4e06
Update README_EN.md ( #3671 )
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (11, windows-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (17, windows-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (21, windows-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, macos-latest) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, ubuntu-24.04) (push) Waiting to run
Details
Java CI / Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} (8, windows-latest) (push) Waiting to run
Details
2025-07-30 13:15:58 +08:00
Farahani
bc30e2df32
Update README.md
2025-07-30 12:27:45 +08:00
Farahani
1fcd9866f5
Update README_EN.md
2025-07-30 12:27:12 +08:00
wenshao
3d3c530866
2.0.59 init
2025-07-30 10:42:14 +08:00
wenshao
da936e2546
2.0.58 release
2025-07-30 10:31:59 +08:00