{"id":20374242,"url":"https://github.com/snwfdhmp/decode","last_synced_at":"2025-04-12T07:12:19.374Z","repository":{"id":98729163,"uuid":"128149848","full_name":"snwfdhmp/decode","owner":"snwfdhmp","description":"Helpers to parse JSON/YAML files into Golang structs","archived":false,"fork":false,"pushed_at":"2020-01-06T10:28:49.000Z","size":5,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T07:12:16.117Z","etag":null,"topics":["json-parser","parser-library","shortcut","yaml-parser"],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/snwfdhmp/decode","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snwfdhmp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-05T02:28:11.000Z","updated_at":"2023-03-13T01:50:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a7a0909-0b0d-466a-980a-76ad435ba052","html_url":"https://github.com/snwfdhmp/decode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snwfdhmp%2Fdecode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snwfdhmp%2Fdecode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snwfdhmp%2Fdecode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snwfdhmp%2Fdecode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snwfdhmp","download_url":"https://codeload.github.com/snwfdhmp/decode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530572,"owners_count":21119600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json-parser","parser-library","shortcut","yaml-parser"],"created_at":"2024-11-15T01:23:11.309Z","updated_at":"2025-04-12T07:12:19.350Z","avatar_url":"https://github.com/snwfdhmp.png","language":"Go","readme":"# Decode\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/snwfdhmp/decode)](https://goreportcard.com/report/github.com/snwfdhmp/decode) [![Documentation](https://godoc.org/github.com/snwfdhmp/decode?status.svg)](http://godoc.org/github.com/snwfdhmp/decode) [![cover.run](https://cover.run/go/github.com/snwfdhmp/decode.svg?style=flat\u0026tag=golang-1.10)](https://cover.run/go?tag=golang-1.10\u0026repo=github.com%2Fsnwfdhmp%2Fdecode)\n\n## Install\n\nInstall with `go get github.com/snwfdhmp/decode`.\n\nImport with\n\n```golang\nimport \"github.com/snwfdhmp/decode\"\n```\n\n## Usage\n\nDecode YAML\n\n```golang\nvar data interface{}\nerr := decode.YAML(\"config.yml\", \u0026data)\n```\n\nor decode JSON\n\n```golang\nvar data interface{}\nerr := decode.JSON(\"config.json\", \u0026data)\n```\n\n## Documentation\n\nComplete documentation can be found on [godoc](http://godoc.org/github.com/snwfdhmp/decode)\n\n## Contributors\n\n- [snwfdhmp](http://github.com/snwfdhmp) - author","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnwfdhmp%2Fdecode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnwfdhmp%2Fdecode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnwfdhmp%2Fdecode/lists"}