mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
update copyright
This commit is contained in:
@@ -145,7 +145,7 @@ public class JacksonEngine extends AbstractJSONEngine {
|
||||
try {
|
||||
aClass = Class.forName(moduleClass);
|
||||
} catch (final ClassNotFoundException ignore) {
|
||||
//用户未引入JSR310,则跳过不加载模块
|
||||
//用户未引入,则跳过不加载模块
|
||||
return;
|
||||
}
|
||||
mapper.registerModule((Module) ConstructorUtil.newInstance(aClass));
|
||||
|
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.dromara.hutool.json.engine;
|
||||
package org.dromara.hutool.json.engine.gson;
|
||||
|
||||
import com.google.gson.*;
|
||||
import org.dromara.hutool.core.date.TimeUtil;
|
||||
@@ -22,6 +22,8 @@ import org.dromara.hutool.core.lang.Assert;
|
||||
import org.dromara.hutool.core.text.StrUtil;
|
||||
import org.dromara.hutool.core.util.ObjUtil;
|
||||
import org.dromara.hutool.json.JSONException;
|
||||
import org.dromara.hutool.json.engine.AbstractJSONEngine;
|
||||
import org.dromara.hutool.json.engine.JSONEngineConfig;
|
||||
|
||||
import java.io.Reader;
|
||||
import java.io.Writer;
|
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Hutool Team and hutool.cn
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* GSON引擎实现<br>
|
||||
* 项目:https://github.com/google/gson
|
||||
*
|
||||
* @author Looly
|
||||
* @since 6.0.0
|
||||
*/
|
||||
package org.dromara.hutool.json.engine.gson;
|
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Hutool Team and hutool.cn
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Jackson引擎实现<br>
|
||||
* https://github.com/FasterXML/jackson
|
||||
*
|
||||
* @author Looly
|
||||
* @since 6.0.0
|
||||
*/
|
||||
package org.dromara.hutool.json.engine.jackson;
|
@@ -15,6 +15,6 @@
|
||||
#
|
||||
|
||||
org.dromara.hutool.json.engine.JacksonEngine
|
||||
org.dromara.hutool.json.engine.GsonEngine
|
||||
org.dromara.hutool.json.engine.gson.GsonEngine
|
||||
org.dromara.hutool.json.engine.FastJSON2Engine
|
||||
org.dromara.hutool.json.engine.HutoolJSONEngine
|
||||
|
Reference in New Issue
Block a user