Go Serialization

Open-source Go projects categorized as Serialization

Top 23 Go Serialization Projects

Serialization
  1. jsoniter

    A high-performance 100% compatible drop-in replacement of "encoding/json" (by json-iterator)

    Project mention: Go Performance: Pequenas mudanças que ajudam a melhorar o desempenho do seu app | dev.to | 2024-07-30
  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. goprotobuf

    Go support for Google's protocol buffers (by golang)

    Project mention: gRPC vs. REST: Understand gRPC, OpenAPI and REST and When to Use in API Design | news.ycombinator.com | 2025-01-22

    > timestamppb.New(time) is hard to figure out?

    No need to be snarky; that API did not exist when I started using protobuf. https://github.com/golang/protobuf/blame/master/ptypes/times... <-- and you can still see the full code from this era on master because of the migration from `github.com/golang/protobuf` to `google.golang.org/protobuf`, which was a whole other exercise in terrible DX.

  4. gogoprotobuf

    [Deprecated] Protocol Buffers for Go with Gadgets (by gogo)

    Project mention: gRPC: The Bad Parts | news.ycombinator.com | 2024-06-27

    The Go tooling for gRPC is inexplicably bad, both in terms of ergonomics and in terms of performance.

    The GoGoProtobuf [1] project was started to improve both. It would generate nice Go types that followed Go's conventions. And it uses fast binary serialization without needing to resort to reflection.

    Unfortunately, the gRPC/Protobuf team(s) at Google is famously resistant to changes, and was unwilling to work with the GoGo. As a result, the GoGo project is now dead. [2]

    I've never used Buf, but it looks like it might fix most of the issues with the Go support.

    [1] https://github.com/gogo/protobuf

    [2] https://x.com/awalterschulze/status/1584553056100057088

  5. msgpack

    msgpack.org[Go] MessagePack encoding for Golang (by vmihailenco)

  6. go-codec

    idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go] (by ugorji)

  7. go-capnp

    Cap'n Proto library and code generator for Go

  8. hprose

    Hprose is a cross-language RPC. This project is Hprose for Golang.

  9. SaaSHub

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

    SaaSHub logo
  10. csvutil

    csvutil provides fast and idiomatic mapping between CSV and Go (golang) values.

  11. cbor

    CBOR codec (RFC 8949) with CBOR tags, Go struct tags (toarray, keyasint, omitempty), float64/32/16, big.Int, and fuzz tested billions of execs.

    Project mention: MessagePack: It's like JSON, but fast and small. | news.ycombinator.com | 2025-01-10
  12. karmem

    Karmem is a fast binary serialization format, faster than Google Flatbuffers and optimized for TinyGo and WASM.

  13. go-capnproto

    Cap'n Proto library and parser for go. This is go-capnproto-1.0, and does not have rpc. See https://github.com/zombiezen/go-capnproto2 for 2.0 which has rpc and capabilities.

  14. watson

    WATSON: Wasted but Amazing Turing-incomplete Stack-based Object Notation (by genkami)

  15. php_session_decoder

    PHP session encoder/decoder written in Go

  16. structomap

    Easily and dynamically generate maps from Go static structures

  17. binstruct

    Golang binary decoder for mapping data into the structure

  18. mus-go

    MUS format serializer for Golang

  19. bebop

    bebop wire format in Go (by 200sc)

  20. bambam

    auto-generate capnproto schema from your golang source files. Depends on go-capnproto-1.0 at https://github.com/glycerine/go-capnproto

  21. parco

    🏇🏻 generalist, fast and tiny binary parser and compiler generator, powered by Go 1.18+ Generics

  22. polyglot

    A high-performance serialization framework used for encoding and decoding arbitrary datastructures across languages. (by loopholelabs)

  23. bel

    Generate TypeScript interfaces from Go structs/interfaces - useful for JSON RPC

  24. enum

    Elegant and powerful Go enums with zero code generation (by xybor-x)

    Project mention: Go Enum’s problems and solutions with xybor-x/enum | dev.to | 2024-12-11

    The xybor-x/enum libray provides elegant, easy-to-use, and powerful solutions for Go enum with no code generation.

  25. fpdecimal

    🛫 Fixed-Point Decimals

  26. SaaSHub

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

    SaaSHub logo
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).

Go Serialization discussion

Log in or Post with

Go Serialization related posts

  • MessagePack: It's like JSON, but fast and small.

    6 projects | news.ycombinator.com | 10 Jan 2025
  • Go Performance: Pequenas mudanças que ajudam a melhorar o desempenho do seu app

    3 projects | dev.to | 30 Jul 2024
  • Handling high-traffic HTTP requests with JSON payloads

    5 projects | /r/golang | 7 Dec 2023
  • How do I marshal a JSON array into a map?

    1 project | /r/golang | 7 Dec 2023
  • Is there any equivalent to pydantic, serde, etc?

    8 projects | /r/golang | 6 Dec 2023
  • Rob Pike: Gobs of data (2011)

    10 projects | news.ycombinator.com | 4 Dec 2023
  • A Journey building a fast JSON parser and full JSONPath

    5 projects | news.ycombinator.com | 11 Oct 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 24 Mar 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

What are some of the best open-source Serialization projects in Go? This list will help you:

# Project Stars
1 jsoniter 13,620
2 goprotobuf 9,898
3 gogoprotobuf 5,670
4 msgpack 2,446
5 go-codec 1,878
6 go-capnp 1,264
7 hprose 1,260
8 csvutil 958
9 cbor 832
10 karmem 659
11 go-capnproto 288
12 watson 269
13 php_session_decoder 166
14 structomap 144
15 binstruct 100
16 mus-go 90
17 bebop 73
18 bambam 65
19 parco 58
20 polyglot 46
21 bel 44
22 enum 33
23 fpdecimal 31

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Go is
the 4th most popular programming language
based on number of references?