Skip to content

JSON & serialization

JSON, YAML, XML, Protocol Buffers and other formats. 140 packages across 9 ecosystems.

Gogithub.com/urfave/cliA declarative, simple, fast, and fun package for building command line tools in Gov1.22.17Jun 14, 2025MITGogithub.com/urfave/cli/v2A declarative, simple, fast, and fun package for building command line tools in Gov2.27.7Jun 14, 2025MITGogithub.com/tidwall/gjsonGet JSON values quickly - JSON parser for Gov1.20.0Oct 5, 2026MITGogithub.com/rs/zerologZero Allocation JSON Loggerv1.35.1Apr 20, 2026MITGogithub.com/json-iterator/goA high-performance 100% compatible drop-in replacement of "encoding/json"v1.1.12Sep 11, 2021MITGogithub.com/golang/protobufGo support for Google's protocol buffersv1.5.4Mar 6, 2024BSD-3-ClauseGogithub.com/bytedance/sonicA blazingly fast JSON serializing & deserializing libraryv1.15.5Oct 26, 2026Apache-2.0Gogopkg.in/yaml.v2YAML support for the Go language.v2.4.0Nov 17, 2020Apache-2.0Gogopkg.in/yaml.v3YAML support for the Go language.v3.0.1May 27, 2022MITGogithub.com/gogo/protobuf[Deprecated] Protocol Buffers for Go with Gadgetsv1.3.2Jan 10, 2021BSD-3-ClauseGogithub.com/hashicorp/hclHCL is the HashiCorp configuration language.v1.0.0Aug 26, 2018MPL-2.0Gogithub.com/BurntSushi/tomlTOML parser for Golang with reflection.v1.6.0Dec 18, 2025MITGogithub.com/mailru/easyjsonFast JSON serializer for golang.v0.9.2Mar 14, 2026MITGogithub.com/goccy/go-jsonFast JSON encoder/decoder compatible with encoding/json for Gov0.12.0Oct 29, 2026MITGogopkg.in/ini.v1Package ini provides INI file read and write functionality in Gov1.67.3Jun 8, 2026Apache-2.0Gogoogle.golang.org/protobufGo support for Google's protocol buffersv1.36.12Aug 10, 2026BSD-3-ClauseGogithub.com/google/gnosticA compiler for APIs described by the OpenAPI Specification with plugins for code generation and other API support tasks.v0.7.1Aug 13, 2025Apache-2.0Gogithub.com/googleapis/gnosticA compiler for APIs described by the OpenAPI Specification with plugins for code generation and other API support tasks.v0.7.1Aug 13, 2025Gogithub.com/pelletier/go-tomlGo library for the TOML file formatv1.9.5Jan 5, 2022MITGogithub.com/pelletier/go-toml/v2Go library for the TOML file formatv2.4.3Jul 5, 2026MIT