SJson is a lightweight, high-performance JSON parser built for server-side Java. Designed for REST APIs and microservices, it delivers faster parsing with lower memory usage using native Java structures.
- Optimized for fast serialization & deserialization
- No external dependencies. Uses native Java types (
Map
,List
, etc.) - Assumes valid JSON (minimal validation overhead)
- Clean, modern, and extendable Java code
- Microservices: Service-to-service communication
- Client SDKs: Lightweight JSON processing (e.g., Elastic clients)
- Data Engineering: ETL pipelines, streaming ingestion, compact intermediate JSON parsing
Add dependency to your project
<dependency>
<groupId>com.techatpark.sjson</groupId>
<artifactId>json-parser</artifactId>
<version>{{version}}</version>
</dependency>
implementation 'com.techatpark.sjson:json-parser:{{version}}'
You can now perform serialization & deserialization
Object obj = Json.parse(Reader.of("{ \"abc\" : \"def\" }")); // Map<String, Object>
String jsonString = Json.stringify(obj);