Topics / #serialization
Serialization projects on GitHub
Serialization formats and libraries for encoding structured data across services and languages.
As of , the most-starred Serialization projects on GitHub are protobuf (72.2K stars), json (50.9K stars) and flatbuffers (26.6K stars). GitHub.Locker tracks 21 Serialization repositories with 367K stars combined. The fastest-growing on November 30 was json, with +9 stars in a day.
Hot right now
Most stars gained in a day · Nov 30
json
nlohmann/json · ★ 50.9KA JSON library for Modern C++ (nlohmann/json) that lets you read, create, and manipulate JSON values with intuitive, STL-like syntax directly in C++ code.
+9serde
serde-rs/serde · ★ 11KSerde is a Rust framework for serializing and deserializing data structures efficiently and generically.
flatbuffers
google/flatbuffers · ★ 26.6KFlatBuffers is a cross-platform serialization library built for maximum memory efficiency: you read serialized data directly without a parsing/unpacking step, and it keeps forwards/backwards compatibility.
+5gson
google/gson · ★ 24.2KGson is a Java library that serializes Java objects to JSON and deserializes JSON back into Java objects, working with arbitrary classes — even ones you don't have the source code for.
The all-time top
21 projects · by stars
- 72.2K
#1 · protocolbuffers/protobuf
protobuf
Protocol Buffers (protobuf) is Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data, similar to XML but smaller, faster, and simpler.
- 50.9K
#2 · nlohmann/json
json
A JSON library for Modern C++ (nlohmann/json) that lets you read, create, and manipulate JSON values with intuitive, STL-like syntax directly in C++ code.
- 26.6K
#3 · google/flatbuffers
flatbuffers
FlatBuffers is a cross-platform serialization library built for maximum memory efficiency: you read serialized data directly without a parsing/unpacking step, and it keeps forwards/backwards compatibility.
- 4

toon
25.7Ktoon-format/toon · TypeScriptTOON (Token-Oriented Object Notation) is a compact, human-readable way to serialize JSON data so it spends fewer tokens in LLM prompts. The repo ships a TypeScript SDK, a CLI, and benchmarks.
- 5

gson
24.2Kgoogle/gson · JavaGson is a Java library that serializes Java objects to JSON and deserializes JSON back into Java objects, working with arbitrary classes — even ones you don't have the source code for.
- 6

grpc-go
23.1Kgrpc/grpc-go · GoThe Go implementation of gRPC: a high performance, open source, general RPC framework that puts mobile and HTTP/2 first. You use it to build gRPC clients and servers in Go.
- 7

SwiftyJSON
22.9KSwiftyJSON/SwiftyJSON · SwiftSwiftyJSON is a Swift library for dealing with JSON data: it lets you pull values out of JSON without the verbose optional-wrapping and type-checking that plain Swift requires.
- 8

rrweb
20.4Krrweb-io/rrweb · TypeScriptrrweb ('record and replay the web') is an open-source tool for recording and replaying users' interactions on a website — DOM-level session replay you embed in your own app, in the spirit of Fullstory or LogRocket.
- 9

arrow
17.3Kapache/arrow · C++Apache Arrow is a universal columnar format plus a multi-language toolbox for fast data interchange and in-memory analytics — technologies that let data systems store, process, and move tabular data efficiently.
- 10

capnproto
13.3Kcapnproto/capnproto · C++Cap'n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary — or think Protocol Buffers, except faster.
- 11

cJSON
13.1KDaveGamble/cJSON · CAn ultralightweight JSON parser written in plain ANSI C. The whole thing is one C file and one header, with the stated goal of being the dumbest parser that still gets your job done.
- 12

serde
11Kserde-rs/serde · RustSerde is a Rust framework for serializing and deserializing data structures efficiently and generically.
- 13

thrift
11Kapache/thrift · C++Apache Thrift is a lightweight, language-independent software stack for building RPC clients and servers. It generates code from a single interface definition file so programs written in different languages can call each other's procedures and share data.
- 14
protobuf.js
10.6Kprotobufjs/protobuf.js · JavaScriptprotobuf.js is a very fast, spec-compliant JavaScript implementation of Protocol Buffers for Node.js and browsers. It works with .proto schemas without protoc, offering runtime reflection and ahead-of-time code generation with TypeScript declarations.
- 15

moshi
10.2Ksquare/moshi · KotlinMoshi is a modern JSON library for Android, Java and Kotlin that parses JSON into Java and Kotlin classes and serializes objects back to JSON.
- 16

protobuf
10.1Kgolang/protobuf · GoGo bindings for Google's protocol buffers: the github.com/golang/protobuf module for serializing protobuf messages in Go, plus a protoc plugin that generates Go code from .proto files.
- 17

jiff
3.2KBurntSushi/jiff · RustJiff is a datetime library for Rust that aims to be hard to misuse. It provides time zone aware datetimes, DST-aware arithmetic and rounding, and lossless parsing and formatting.
- 18

dquickts
499stencil-hq/dquickts · Cdquickts is a fork of QuickJS, Fabrice Bellard's small embeddable JavaScript engine, that adds durable execution (you can suspend a running script, snapshot the whole heap, and resume it in another process) and native TypeScript support, plus Rust bindings for both features.
- 19

libfyaml
348pantoniou/libfyaml · Clibfyaml is a high-performance YAML 1.2 and JSON parser/emitter for C, built for zero-copy operation with full document-tree and event-streaming APIs, and it passes the full YAML testsuite.
- 20
rataflow
202furkankly/rataflow · Rustrataflow is a Rust library for building node-based, interactive diagram editors directly inside a terminal, ranging from a static diagram to a fully interactive node editor.
- 21

ultrastorage
168yangshun/ultrastorage · TypeScriptA TypeScript library that supercharges localStorage: it serializes rich data types and adds key expiration, namespacing, subscriptions, and schema validation on top of the browser's default storage.
Related topics
Often tagged together