jsoniter VS mapstructure

Compare jsoniter vs mapstructure and see what are their differences.


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


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.
  • SaaSHub - Software Alternatives and Reviews
jsoniter mapstructure
7 9
10,848 5,714
2.0% -
1.9 7.3
3 months ago 14 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 jsoniter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-17.


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

viper - Go configuration with fangs

easyjson - Fast JSON serializer for golang.

compare-go-json - A comparison of several go JSON packages.

go-json - Fast JSON encoder/decoder compatible with encoding/json for Go

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

goprotobuf - Go support for Google's protocol buffers

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

GJSON - Get JSON values quickly - JSON parser for Go

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

Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.

structomap - Easily and dynamically generate maps from Go static structures