Go Serialization

Open-source Go projects categorized as Serialization | Edit details

Top 23 Go Serialization Projects

  • GitHub repo jsoniter

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

    Project mention: Some Go(lang) tips | dev.to | 2021-10-02

    What to use Easyjson is about the top of the pack and it's straightforward. The downside of efficient tools is that they use code generation to create the code required to turn your structs into json to minimise allocations. This is a manual build step which is annoying. Interestingly json-iterator also uses reflection but it's significantly faster. I suspect black magic.

  • GitHub repo goprotobuf

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

    Project mention: A complete yet beginner friendly guide on how to secure Linux | reddit.com/r/linux | 2021-06-04
  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo mapstructure

    Go library for decoding generic map values into native Go structures and vice versa.

    Project mention: map[string]interface{} decoder | reddit.com/r/golang | 2021-10-30

    What do you mean by "decode"? I've used https://github.com/mitchellh/mapstructure but that doesn't quite look like what you're doing.

  • GitHub repo gogoprotobuf

    [Looking for new ownership] Protocol Buffers for Go with Gadgets (by gogo)

    Project mention: 🐱‍👓 PowerProto: One-click installation and version control of gRPC toolchain (protoc, protoc-gen-go) | reddit.com/r/golang | 2021-07-23

    repositories: # Definition depends on the 27156597fdf4fb77004434d4409154a230dc9a32 version of https://github.com/googleapis/googleapis # and defines its name as GOOGLE_APIS # It can be referenced in importPaths by $GOOGLE_APIS GOOGLE_APIS: https://github.com/googleapis/[email protected] # Definition depends on the 226206f39bd7276e88ec684ea0028c18ec2c91ae version of https://github.com/gogo/protobuf # and defines its name as GOGO_PROTOBUF # It can be referenced in the importPaths by $GOGO_PROTOBUF GOGO_PROTOBUF: https://github.com/gogo/[email protected]

  • GitHub repo go-codec

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

  • GitHub repo hprose

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

  • GitHub repo go-capnproto2

    Cap'n Proto library and code generator for Go

    Project mention: flatbuffers vs capnproto for go? | reddit.com/r/golang | 2021-11-11

    I'm evaluating flatbuffers and capnproto for efficient and performant messaging for redpanda (kafka in c++)

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo colfer

    binary serialization format

  • GitHub repo csvutil

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

  • GitHub repo cbor

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

  • GitHub repo 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.

  • GitHub repo php_session_decoder

    PHP session encoder/decoder written in Go

  • GitHub repo structomap

    Easily and dynamically generate maps from Go static structures

  • GitHub repo bambam

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

  • GitHub repo binstruct

    Golang binary decoder for mapping data into the structure

  • GitHub repo pletter

    A standard way to wrap a proto message

  • GitHub repo go-serializer

    :loop: Serialize any custom type or convert any content to []byte or string, for Go Programming Language

  • GitHub repo fwencoder

    Fixed width file parser (encoder/decoder) in GO (golang)

  • GitHub repo bel

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

  • GitHub repo epoch

    Contains primitives for marshaling/unmarshaling Unix timestamp/epoch to/from built-in time.Time type in JSON (by vtopc)

  • GitHub repo fixedwidth

    A Go package for encode/decode fixed-width data

  • GitHub repo unitpacking

    A library for storing unit vectors in a representation that lends itself to saving space on disk.

  • GitHub repo go-lctree

    go-lctree provides a CLI and Go primitives to serialize and deserialize LeetCode binary trees (e.g. "[5,4,7,3,null,2,null,-1,null,9]").

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). The latest post mention was on 2021-11-11.

Go Serialization related posts


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

Project Stars
1 jsoniter 10,162
2 goprotobuf 8,084
3 mapstructure 5,107
4 gogoprotobuf 4,967
5 go-codec 1,603
6 hprose 1,185
7 go-capnproto2 766
8 colfer 637
9 csvutil 626
10 cbor 347
11 go-capnproto 279
12 php_session_decoder 151
13 structomap 130
14 bambam 62
15 binstruct 36
16 pletter 15
17 go-serializer 14
18 fwencoder 14
19 bel 14
20 epoch 6
21 fixedwidth 5
22 unitpacking 3
23 go-lctree 2
Find remote jobs at our new job board 99remotejobs.com. There are 33 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives