Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/fjl/gencodec
- Owner: fjl
- License: mit
- Created: 2017-02-27T14:49:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-27T07:05:49.000Z (10 months ago)
- Last Synced: 2025-01-02T02:11:56.004Z (8 days ago)
- Topics: json, unmarshaller, yaml
- Language: Go
- Homepage:
- Size: 206 KB
- Stars: 54
- Watchers: 5
- Forks: 28
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).