refactor(json): 重构 JSON 转换器体系,新增 reader/writer/judgment 抽象
移除按类型划分的 BaseJson*Converter,统一由 BaseJsonConverter 与 JsonConverterUtils 处理;为 Jackson2/Jackson3 分别实现 JsonReader、 JsonWriter 与 ReaderJudgment,并同步更新 SpringBoot 自动配置与测试。
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
* ProjectName mingli-utils
|
||||
* ModuleName mingli-utils.main
|
||||
* CurrentFile JsonParserException.kt
|
||||
* LastUpdate 2026-10-11 16:53:41
|
||||
* LastUpdate 2026-11-17 16:22:52
|
||||
* UpdateUser MingLiPro
|
||||
*/
|
||||
|
||||
@@ -28,3 +28,11 @@ class JsonParserException @JvmOverloads constructor(
|
||||
enableSuppression: Boolean = false,
|
||||
writableStackTrace: Boolean = true,
|
||||
) : JsonException(message, throwable, enableSuppression, writableStackTrace)
|
||||
|
||||
|
||||
class JsonFormatException @JvmOverloads constructor(
|
||||
message: String? = null,
|
||||
throwable: Throwable? = null,
|
||||
enableSuppression: Boolean = false,
|
||||
writableStackTrace: Boolean = true,
|
||||
) : JsonException(message, throwable, enableSuppression, writableStackTrace)
|
||||
|
||||
Reference in New Issue
Block a user