This commit is contained in:
Looly 2024-09-29 09:34:30 +08:00
parent 876a69e8c2
commit 8fec210025
83 changed files with 96 additions and 84 deletions

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.bean.BeanUtil;
import org.dromara.hutool.core.convert.ConvertUtil;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.dromara.hutool.core.io.resource.ResourceUtil;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.collection.ListUtil;
import lombok.Data;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.dromara.hutool.json.serializer.JSONContext;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.reflect.TypeReference;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.text.StrUtil;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.dromara.hutool.core.collection.ListUtil;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.dromara.hutool.core.collection.ListUtil;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import lombok.Getter;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.dromara.hutool.core.reflect.ClassUtil;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.lang.Opt;
import org.dromara.hutool.core.map.MapUtil;

View File

@ -14,11 +14,13 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.dromara.hutool.core.io.resource.ResourceUtil;
import org.dromara.hutool.core.reflect.TypeReference;
import lombok.Data;
import org.dromara.hutool.json.JSONConfig;
import org.dromara.hutool.json.JSONUtil;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.date.TimeUtil;
import lombok.Data;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.date.DateUtil;
import lombok.Data;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.dromara.hutool.core.annotation.Alias;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.collection.ListUtil;
import lombok.Data;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.convert.ConvertUtil;
import lombok.Data;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.annotation.Alias;
import lombok.Data;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.AllArgsConstructor;
import lombok.Data;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.collection.ListUtil;
import org.dromara.hutool.core.io.resource.ResourceUtil;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.io.resource.ResourceUtil;
import org.dromara.hutool.core.xml.XPathUtil;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.lang.mutable.MutableEntry;
import org.dromara.hutool.core.reflect.TypeReference;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.dromara.hutool.core.reflect.TypeReference;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.reflect.TypeReference;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.lang.tuple.Pair;
import org.dromara.hutool.core.lang.tuple.Triple;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.AllArgsConstructor;
import lombok.Data;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.dromara.hutool.core.io.resource.ResourceUtil;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import lombok.ToString;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Getter;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.text.StrUtil;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.date.DateUtil;
import org.dromara.hutool.json.writer.NumberWriteMode;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.Data;
import lombok.experimental.Accessors;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import lombok.AllArgsConstructor;
import lombok.Getter;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json;
package org.dromara.hutool.json.issues;
import org.dromara.hutool.core.reflect.TypeReference;
import org.junit.jupiter.api.Test;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json.issueI5WDP0
package org.dromara.hutool.json.issues.issueI5WDP0
data class ERPProduct(
var code:String,

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json.issueI5WDP0;
package org.dromara.hutool.json.issues.issueI5WDP0;
import org.dromara.hutool.json.JSONUtil;
import org.junit.jupiter.api.Assertions;

View File

@ -14,12 +14,12 @@
* limitations under the License.
*/
package org.dromara.hutool.json.issueIVMD5;
import java.util.List;
package org.dromara.hutool.json.issues.issueIVMD5;
import lombok.Data;
import java.util.List;
@Data
public class BaseResult<E> {

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json.issueIVMD5;
package org.dromara.hutool.json.issues.issueIVMD5;
import org.dromara.hutool.core.io.resource.ResourceUtil;
import org.dromara.hutool.core.reflect.TypeReference;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json.issueIVMD5;
package org.dromara.hutool.json.issues.issueIVMD5;
import lombok.Data;

View File

@ -0,0 +1,4 @@
/**
* issue解决相关测试
*/
package org.dromara.hutool.json.issues;

View File

@ -14,10 +14,12 @@
* limitations under the License.
*/
package org.dromara.hutool.json.engine;
package org.dromara.hutool.json.jmh;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.dromara.hutool.json.engine.JSONEngine;
import org.dromara.hutool.json.engine.JSONEngineFactory;
import org.openjdk.jmh.annotations.*;
import java.util.Date;

View File

@ -1,4 +1,4 @@
package org.dromara.hutool.json.engine;
package org.dromara.hutool.json.jmh;
import com.alibaba.fastjson2.JSON;
import com.google.gson.JsonElement;

View File

@ -1,4 +1,4 @@
package org.dromara.hutool.json.engine;
package org.dromara.hutool.json.jmh;
import com.alibaba.fastjson2.JSON;
import com.google.gson.JsonElement;

View File

@ -0,0 +1,4 @@
/**
* 测试包用于JMH基准测试
*/
package org.dromara.hutool.json.jmh;