[ALPHA] - v0.1.0 A high-performance native JSON module for the FastJava ecosystem. Optimized for raw throughput and zero-copy parsing via SIMD.
FastJSON delivers elite parsing performance by leveraging native SIMD instructions and optimized memory handling. Built for high-frequency API requests and massive data processing pipelines.
// Quick Start — Example
import fastjson.FastJSON;
import fastjson.FastJsonValue;
public class Demo {
public static void main(String[] args) {
FastJsonValue doc = FastJSON.parse("{\"status\":\"ok\", \"latency\": 120}");
System.out.println("Status: " + doc.getString("status"));
}
}- ⚡ SIMD Accelerated: Native JSON parsing optimizations (AVX2/SSE).
- 📦 Zero-Copy: Direct access to native byte buffers bypassing String overhead.
- 🚀 Raw Performance: Optimized for massive data throughput (50x faster than Jackson).
- 🖇️ Ecosystem Ready: Seamless integration with FastIO and FastCore.
Add the JitPack repository and the dependencies to your pom.xml:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<!-- FastJSON Library -->
<dependency>
<groupId>com.github.andrestubbe</groupId>
<artifactId>fastjson</artifactId>
<version>v0.1.0</version>
</dependency>
<!-- FastCore (Required Native Loader) -->
<dependency>
<groupId>com.github.andrestubbe</groupId>
<artifactId>fastcore</artifactId>
<version>v0.1.0</version>
</dependency>
</dependencies>repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.andrestubbe:fastjson:v0.1.0'
implementation 'com.github.andrestubbe:fastcore:v0.1.0'
}Download the latest JARs directly to add them to your classpath:
- 📦 fastjson-v0.1.0.jar (The Core Library)
- ⚙️ fastcore-v0.1.0.jar (The Mandatory Native Loader)
Important
All JARs must be in your classpath for the native JNI calls to function correctly.
MIT License — See LICENSE for details.
Made with ⚡ by Andre Stubbe