Registry / utility / fjl-gencodec

fjl-gencodec

JSON →
library0.1.1gogounverified

Command gencodec generates JSON, YAML, and TOML marshaling methods for Go struct types with advanced features like field overrides and required field checks.

go get github.com/fjl/gencodec
INSTALL
IMPORT
SIG · FJL-GENCODEC
F
fjl-gencodec
utilitygov0.1.1
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.

gencodec
github.com/fjl/gencodec

Generates marshaling methods for MyStruct using a go:generate directive.

package main import ( "github.com/fjl/gencodec" ) //go:generate gencodec -type MyStruct -out my_struct_gen.go type MyStruct struct { Name string `json:"name"` }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
fjl-gencodec — go get fjl-gencodec · libregistry