Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fjl/gencodec

Command gencodec generates marshaling methods for Go struct types.
https://github.com/fjl/gencodec

json unmarshaller yaml

Last synced: about 14 hours ago
JSON representation

Command gencodec generates marshaling methods for Go struct types.

Awesome Lists containing this project

README

        

Command gencodec generates marshaling methods for Go struct types.

The generated methods add features which json and other marshaling packages cannot offer.

gencodec -dir . -type MyType -formats json,yaml,toml -out mytype_json.go

See [the documentation for more details](https://godoc.org/github.com/fjl/gencodec).