binstruct VS mapstructure

Compare binstruct vs mapstructure and see what are their differences.

binstruct

Golang binary decoder for mapping data into the structure (by ghostiam)

mapstructure

Go library for decoding generic map values into native Go structures and vice versa. (by mitchellh)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • OPS - Build and Run Open Source Unikernels
binstruct mapstructure
0 9
41 5,308
- -
4.5 5.0
about 1 month ago 8 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.

binstruct

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

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

mapstructure

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 binstruct and mapstructure you can also consider the following projects:

viper - Go configuration with fangs

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

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-codec - idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]

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.

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