Registry / serialization / goccy-go-json

goccy-go-json

JSON →
library0.10.6gogounverified

Package json is a fast JSON encoder/decoder for Go with full compatibility with the standard library's encoding/json.

go get github.com/goccy/go-json
INSTALL
IMPORT
SIG · GOCCY-GO-JSON
G
goccy-go-json
serializationgov0.10.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

json
✓ github.com/goccy/go-json

Marshals a struct to JSON.

import "github.com/goccy/go-json" func main() { type User struct { Name string `json:"name"` } u := User{Name: "Alice"} b, _ := json.Marshal(u) println(string(b)) }
Debug
Known issues
gotchaReplaces the standard library's encoding/json; some edge cases may differ.
fix
Test thoroughly if migrating from encoding/json.
affects: >=0.1.0
Upgrade
Version history
0.10.6latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
goccy-go-json — go get goccy-go-json · libregistry