SaaSHub helps you find the best software and product alternatives Learn more →
Top 20 Java Serialization Projects
-
ysoserial
A proof-of-concept tool for generating payloads that exploit unsafe Java object deserialization.
Project mention: Gadget chains in Java: how unsafe deserialization leads to RCE? | dev.to | 2025-10-10The problem with exploiting native Java serialization weaknesses is not new. Various enthusiasts have compiled a set of "useful payloads" that exploit gadget chains within various popular libraries (in certain versions) and created the ysoserial utility, which generates such objects in a serialized form. It's super handy for getting familiar with a topic and for testing whether an application is vulnerable—of course, with the author's permission; exploiting such things without the creator's consent is illegal and unethical.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
fory
A blazingly fast multi-language serialization framework for idiomatic domain objects, schema IDL, and cross-language data exchange.
Project mention: Extend Protobuf/FlatBuffers Schema IDL with Shared/Circular Reference Support | news.ycombinator.com | 2026-03-11If you already have .proto or .fbs schemas and you want shared/circular reference support, with the Fory compiler you can keep those schemas, add a small set of Fory options, then foryc generates idiomatic native models across Fory-supported languages
With fory first-class object graph serialziation support, you can serialize object graphs without manual *_id link reconstruction or rewriting your entire schema into Fory Schema.
1. GitHub: https://github.com/apache/fory
2. Compiler docs: https://fory.apache.org/docs/compiler
-
-
-
-
-
jsoniter
jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go (by json-iterator)
-
-
-
night-config
Powerful java configuration library for toml, yaml, hocon, json and in-memory configurations. Serialization/deserialization framework.
-
snackjson
Sanck4: Next-generation high-performance Jsonpath framework. Compatible with 'jayway.jsonpath' and IETF JSONPath (RFC 9535) standard specifications (open customization support).
Snack4 is a high-performance Java JSON library designed for demanding scenarios. Its core component JsonReader uses a non-recursive state machine architecture, natively supporting Streaming Parse and Auto-Repair, making it ideal for handling unstable LLM outputs and large NDJSON files.
-
-
-
kafka-large-message-serde
A Kafka Serde that reads and writes records from and to Blob storage (S3, Azure, Google) transparently.
-
-
-
Project mention: Show HN: Fory C++ Serialization – Polymorphism, Circular Refs, 12x vs. Protobuf | news.ycombinator.com | 2026-02-18
6. Row format. O(1) random field access by index — useful for analytics workloads where you only read a few fields per record.
Throughput vs. Protobuf: up to 12x depending on workload.
GitHub: https://github.com/apache/fory
-
NetworkParser
Framework for serialization to Json, XML, Byte and Excel, therefore an oviparous wool milk sow J
-
-
Ziphra Messenger Common
Ziphra Messenger Common ziphra-common: Contains reusable classes shared between client and server, such as cryptographic primitives, protocol constants, and utilities. For projects: Ziphra Messenger Client & Ziphra Messenger Server
Java Serialization discussion
Java Serialization related posts
-
Extend Protobuf/FlatBuffers Schema IDL with Shared/Circular Reference Support
-
Show HN: First IDL for Object-Graph Serialization (Apache Fory IDL)
-
"Giving up upstream-ing my patches & feel free to pick them up"
-
Apache Fory – fast serialization powered by JIT and zero-copy
-
Apache Fory Serialization Framework 0.11.2 Released
-
Apache Fory Serialization Framework 0.11.0 Released
-
2X compression ratio: Chunk based dynamic map serialization
-
A note from our sponsor - SaaSHub
www.saashub.com | 10 Jun 2026
Index
What are some of the best open-source Serialization projects in Java? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | ysoserial | 8,908 |
| 2 | fory | 4,395 |
| 3 | fastjson2 | 4,307 |
| 4 | protostuff | 2,096 |
| 5 | zfoo | 2,002 |
| 6 | FST | 1,594 |
| 7 | jsoniter | 1,565 |
| 8 | MessagePack | 1,468 |
| 9 | colfer | 757 |
| 10 | night-config | 282 |
| 11 | snackjson | 171 |
| 12 | zserio | 150 |
| 13 | juneau | 94 |
| 14 | kafka-large-message-serde | 66 |
| 15 | kdl4j | 55 |
| 16 | opack | 30 |
| 17 | fory-benchmarks | 7 |
| 18 | NetworkParser | 6 |
| 19 | bencoder4j | 3 |
| 20 | Ziphra Messenger Common | 0 |