Java Serialization

Open-source Java projects categorized as Serialization

Top 20 Java Serialization Projects

Serialization
  1. 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-10

    The 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.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. 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-11

    If 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

  4. fastjson2

    🚄 FASTJSON2 is a Java JSON library with excellent performance.

  5. protostuff

    Java serialization library, proto compiler, code generator

  6. zfoo

    💡Extremely fast enterprise server framework, can be used in RPC, game server, web server.

  7. FST

    FST: fast java serialization drop in-replacement

  8. jsoniter

    jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go (by json-iterator)

  9. MessagePack

    MessagePack serializer implementation for Java / msgpack.org[Java]

  10. colfer

    binary serialization format

  11. night-config

    Powerful java configuration library for toml, yaml, hocon, json and in-memory configurations. Serialization/deserialization framework.

  12. snackjson

    Sanck4: Next-generation high-performance Jsonpath framework. Compatible with 'jayway.jsonpath' and IETF JSONPath (RFC 9535) standard specifications (open customization support).

    Project mention: Snack4 JSON Streaming Parser & Auto-Repair Deep Guide | dev.to | 2026-03-17

    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.

  13. zserio

    zero sugar, zero fat, zero serialization overhead

  14. juneau

    Apache Juneau

  15. kafka-large-message-serde

    A Kafka Serde that reads and writes records from and to Blob storage (S3, Azure, Google) transparently.

  16. kdl4j

    KDL Parser for the JVM

  17. opack

    Fast object or data serialize and deserialize library

  18. fory-benchmarks

    Serialization Benchmarks for apache fory(previously fury) with other libraries

    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

  19. NetworkParser

    Framework for serialization to Json, XML, Byte and Excel, therefore an oviparous wool milk sow J

  20. bencoder4j

    Bit-torrent encoding and decoding implementation for Java programming language.

  21. 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

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Java Serialization discussion

Log in or Post with

Java Serialization related posts

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

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com