Registry / serialization / jettison

jettison

JSON →
library1.5.5javamavenunverified

Jettison is a StAX implementation for JSON, allowing streaming JSON parsing and writing using the Java StAX API.

<dependency> <groupId>org.codehaus.jettison</groupId> <artifactId>jettison</artifactId> <version>1.5.5</version> </dependency>
INSTALL
IMPORT
SIG · JETTISON
J
jettison
serializationjavav1.5.5
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.

JSONObject
org.codehaus.jettison.json.JSONObject

Creates a JSON object and prints it as a string.

import org.codehaus.jettison.json.JSONObject; JSONObject obj = new JSONObject(); obj.put("key", "value"); System.out.println(obj.toString());
Debug
Known issues
gotchaJettison may have compatibility issues with some JSON structures; consider using Jackson or Gson for complex use cases.
fix
Use Jackson or Gson for more robust JSON handling.
affects: *
Upgrade
Version history
1.5.5latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
jettison — mvn dependency:get jettison · libregistry