Registry / serialization / hutool-json

hutool-json

JSON →
library5.8.46javamavenunverified

Hutool JSON封装 — a JSON utility library from the Hutool toolkit.

<dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-json</artifactId> <version>5.8.46</version> </dependency>
INSTALL
IMPORT
SIG · HUTOOL-JSON
H
hutool-json
serializationjavav5.8.46
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JSONUtil
cn.hutool.json.JSONUtil

Converts an object to JSON string using JSONUtil.

import cn.hutool.json.JSONUtil; public class Example { public static void main(String[] args) { String json = JSONUtil.toJsonStr(new Object()); System.out.println(json); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.8.46latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
hutool-json — mvn dependency:get hutool-json · libregistry