diff --git a/APIJSONORM/README.md b/APIJSONORM/README.md
index 8007c02c3..3ad562453 100644
--- a/APIJSONORM/README.md
+++ b/APIJSONORM/README.md
@@ -1,6 +1,6 @@
-# APIJSONORM [](https://jitpack.io/#Tencent/APIJSON)
-腾讯 [APIJSON](https://github.com/Tencent/APIJSON) ORM 库,可通过 Maven, Gradle 等远程依赖。
-Tencent [APIJSON](https://github.com/Tencent/APIJSON) ORM library for remote dependencies with Maven, Gradle, etc.
+# APIJSONORM [](https://jitpack.io/#APIJSON/APIJSON) [
](https://deepwiki.com/APIJSON/APIJSON)
+[APIJSON](https://github.com/APIJSON/APIJSON) ORM 库,可通过 Maven, Gradle 等远程依赖。
+[APIJSON](https://github.com/APIJSON/APIJSON) ORM library for remote dependencies with Maven, Gradle, etc.
### Maven
#### 1. 在 pom.xml 中添加 JitPack 仓库
@@ -19,9 +19,9 @@ Tencent [APIJSON](https://github.com/Tencent/APIJSON) ORM library for remote dep
#### 2. Add the APIJSON dependency to pom.xml
```xml
- com.github.Tencent
+ com.github.APIJSON
APIJSON
- LATEST
+ latest
```
@@ -45,7 +45,7 @@ Tencent [APIJSON](https://github.com/Tencent/APIJSON) ORM library for remote dep
#### 2. Add the APIJSON dependency in one of your modules(such as `app`)
```gradle
dependencies {
- implementation 'com.github.Tencent:APIJSON:latest'
+ implementation 'com.github.APIJSON:APIJSON:latest'
}
```
@@ -54,7 +54,7 @@ Tencent [APIJSON](https://github.com/Tencent/APIJSON) ORM library for remote dep
### FASTJSON 2
#### Code
-https://github.com/Tencent/APIJSON/tree/fastjson2
+https://github.com/APIJSON/APIJSON/tree/fastjson2
#### Maven
https://mvnrepository.com/artifact/com.github.linushp/zikai-apijson/1.0
diff --git a/APIJSONORM/pom.xml b/APIJSONORM/pom.xml
index 475e6ba91..41ccd10b0 100644
--- a/APIJSONORM/pom.xml
+++ b/APIJSONORM/pom.xml
@@ -3,9 +3,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- com.github.Tencent
+ com.github.APIJSON
APIJSON
- 7.5.6
+ 10.0.0
jar
APIJSONORM
@@ -22,9 +22,10 @@
- com.alibaba
- fastjson
- 1.2.83
+ junit
+ junit
+ 4.13.2
+ test
diff --git a/APIJSONORM/src/main/java/apijson/JSON.java b/APIJSONORM/src/main/java/apijson/JSON.java
index d7854aae1..3f13dc8b6 100755
--- a/APIJSONORM/src/main/java/apijson/JSON.java
+++ b/APIJSONORM/src/main/java/apijson/JSON.java
@@ -1,272 +1,691 @@
-/*Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
+/*Copyright (C) 2026 the APIJSON group. All rights reserved.
This source code is licensed under the Apache License Version 2.0.*/
package apijson;
-import com.alibaba.fastjson.JSONArray;
-import com.alibaba.fastjson.JSONObject;
-import com.alibaba.fastjson.parser.Feature;
-import com.alibaba.fastjson.serializer.SerializerFeature;
-
+import java.util.Collection;
+import java.util.LinkedHashMap;
import java.util.List;
+import java.util.Map;
-/**阿里FastJSON封装类 防止解析时异常
+/**JSON工具类 防止解析时异常
* @author Lemon
*/
public class JSON {
- private static final String TAG = "JSON";
- /**判断json格式是否正确
- * @param s
- * @return
- */
- public static boolean isJsonCorrect(String s) {
- //太长 Log.i(TAG, "isJsonCorrect <<<< " + s + " >>>>>>>");
- if (s == null
- // || s.equals("[]")
- // || s.equals("{}")
- || s.equals("")
- || s.equals("[null]")
- || s.equals("{null}")
- || s.equals("null")) {
- return false;
- }
- return true;
+ static final String TAG = "JSON";
+
+ public static JSONParser extends Map, ? extends List