Registry / serialization / fastjson2

fastjson2

JSON →
library2.0.61javamavenunverified

A high-performance JSON processor for Java that parses and generates JSON data efficiently.

<dependency> <groupId>com.alibaba.fastjson2</groupId> <artifactId>fastjson2</artifactId> <version>2.0.61</version> </dependency>
INSTALL
IMPORT
SIG · FASTJSON2
F
fastjson2
serializationjavav2.0.61
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.

JSON
com.alibaba.fastjson2.JSON

Parses a JSON string and then serializes it back to JSON.

import com.alibaba.fastjson2.JSON; public class Example { public static void main(String[] args) { String json = "{\"name\":\"John\",\"age\":30}"; Object obj = JSON.parse(json); System.out.println(obj); String output = JSON.toJSONString(obj); System.out.println(output); } }
Debug
Known issues
breakingFastjson2 has known security vulnerabilities in older versions; always use the latest version.
fix
Update to version 2.0.61 or later to mitigate known issues.
affects: <2.0.61
Upgrade
Version history
2.0.61latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
fastjson2 — mvn dependency:get fastjson2 · libregistry