unitpacking VS mapstructure

Compare unitpacking vs mapstructure and see what are their differences.


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


Go library for decoding generic map values into native Go structures and vice versa. (by mitchellh)
Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
unitpacking mapstructure
0 9
4 5,308
- -
0.0 5.0
9 months ago 5 days ago
Go Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of unitpacking. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning unitpacking yet.
Tracking mentions began in Dec 2020.


Posts with mentions or reviews of mapstructure. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-17.

What are some alternatives?

When comparing unitpacking and mapstructure you can also consider the following projects:

jsoniter - A high-performance 100% compatible drop-in replacement of "encoding/json"

viper - Go configuration with fangs

gogoprotobuf - [Looking for new ownership] Protocol Buffers for Go with Gadgets

goprotobuf - Go support for Google's protocol buffers

structomap - Easily and dynamically generate maps from Go static structures

colfer - binary serialization format

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.

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

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.

go-codec - idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]

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