Registry / serialization / json-simple

json-simple

JSON →
library1.1.1javamavenunverified

A lightweight Java library for parsing and generating JSON data.

<dependency> <groupId>com.googlecode.json-simple</groupId> <artifactId>json-simple</artifactId> <version>1.1.1</version> </dependency>
INSTALL
IMPORT
SIG · JSON-SIMPLE
J
json-simple
serializationjavav1.1.1
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.json.simple.JSONObject

Creates a JSON object and outputs its string representation.

import org.json.simple.JSONObject; public class Example { public static void main(String[] args) { JSONObject obj = new JSONObject(); obj.put("name", "John"); obj.put("age", 30); System.out.println(obj.toJSONString()); } }
Debug
Known issues
gotchaJSON.simple 1.x uses raw types and lacks generics support, which can lead to unchecked warnings.
fix
Consider using Jackson or Gson for type-safe JSON handling.
affects: <=1.1.1
Upgrade
Version history
1.1.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
json-simple — mvn dependency:get json-simple · libregistry