diff --git a/.gitignore b/.gitignore
index f4b1dd878..a06bbd0a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,3 +35,4 @@ build/
### VS Code ###
.vscode/
APIJSONORM/bin
+*.DS_Store
diff --git a/APIJSONORM/README.md b/APIJSONORM/README.md
index 8007c02c3..0cb431e27 100644
--- a/APIJSONORM/README.md
+++ b/APIJSONORM/README.md
@@ -1,4 +1,4 @@
-# APIJSONORM [](https://jitpack.io/#Tencent/APIJSON)
+# APIJSONORM [](https://jitpack.io/#Tencent/APIJSON) [
](https://deepwiki.com/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.
diff --git a/APIJSONORM/pom.xml b/APIJSONORM/pom.xml
index 7aa99c4e0..bd340fa5f 100644
--- a/APIJSONORM/pom.xml
+++ b/APIJSONORM/pom.xml
@@ -5,7 +5,7 @@
com.github.Tencent
APIJSON
- 6.4.0
+ 8.0.2
jar
APIJSONORM
@@ -15,14 +15,12 @@
UTF-8
UTF-8
1.8
+ UTF-8
+ 1.8
+ 1.8
-
- com.alibaba
- fastjson
- 1.2.83
-
@@ -30,7 +28,7 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.8.1
+ 3.12.1
1.8
1.8
diff --git a/APIJSONORM/src/main/java/apijson/JSON.java b/APIJSONORM/src/main/java/apijson/JSON.java
index 48b80aac4..c31170c44 100755
--- a/APIJSONORM/src/main/java/apijson/JSON.java
+++ b/APIJSONORM/src/main/java/apijson/JSON.java
@@ -4,270 +4,674 @@
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 com.alibaba.fastjson.JSONReader;
-
+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