Package | Description |
---|---|
org.dromara.hutool.json.engine |
JSON SPI 实现
通过实现 JSONEngine 以使用不同的JSON库完成:
JSON序列化,即Java Bean(POJO)对象转为JSON字符串
JSON反序列化,即JSON字符串转为Java Bean(POJO)对象
|
org.dromara.hutool.json.engine.fastjson |
Fastjson2引擎实现
https://github.com/alibaba/fastjson2 |
org.dromara.hutool.json.engine.gson |
GSON引擎实现
项目:https://github.com/google/gson |
org.dromara.hutool.json.engine.jackson |
Jackson引擎实现
https://github.com/FasterXML/jackson |
org.dromara.hutool.json.engine.moshi |
Moshi引擎实现
https://github.com/square/moshi |
Modifier and Type | Class and Description |
---|---|
class |
HutoolJSONEngine
Hutool自身实现的JSON引擎
|
Modifier and Type | Class and Description |
---|---|
class |
FastJSON2Engine
FastJSON2引擎实现
|
Modifier and Type | Class and Description |
---|---|
class |
GsonEngine
Gson引擎实现
|
Modifier and Type | Class and Description |
---|---|
class |
JacksonEngine
Jackson引擎
|
Modifier and Type | Class and Description |
---|---|
class |
MoshiEngine
Moshi引擎实现
|
Copyright © 2025. All rights reserved.