Serialization & Json¶
Articles¶
- Generate and serialize protobuf message in Go
- A Complete Guide to JSON in Golang (With Examples)
- Mapstructure of go
- JSON and XML - Practical Go Lessons
- Working with JSON in Go
- A Complete Guide to JSON in Golang (With Examples)
- The Ultimate Guide to JSON in Go
- How to use JSON with Go [best practices]
- How to Parse a JSON Request Body in Go
- Surprises and Gotchas When Working With JSON
- JSON processing with Go
Libraries¶
- mitchellh/mapstructure - Go library for decoding generic map values into native Go structures and vice versa.
- pquerna/ffjson - faster JSON serialization for Go
- mailru/easyjson - Fast JSON serializer for golang
- tidwall/gjson - Get JSON values quickly - JSON parser for Go
- buger/jsonparser - One of the fastest alternative JSON parser for Go that does not require schema
- json-iterator/go - A high-performance 100% compatible drop-in replacement of “encoding/json”
- TylerBrock/colorjson - Fast Color JSON Marshaller + Pretty Printer for Golang
- goccy/go-json - Fast JSON encoder/decoder compatible with encoding/json for Go
- tidwall/pretty - Efficient JSON beautifier and compactor for Go
- hokaccha/go-prettyjson - JSON pretty print for Golang.
- kr/pretty - Pretty printing for Go values
- tinylib/msgp - A Go code generator for MessagePack / msgpack.org[Go]
- k0kubun/pp - Colored pretty printer for Go language