{"id":28251207,"url":"https://github.com/entrlcom/go-json-decoder","last_synced_at":"2025-07-02T20:07:28.638Z","repository":{"id":243993172,"uuid":"813818560","full_name":"entrlcom/go-json-decoder","owner":"entrlcom","description":"JSON Decoder","archived":false,"fork":false,"pushed_at":"2025-05-05T16:57:20.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-17T10:57:25.632Z","etag":null,"topics":["go","http-request","json","pkg","request-body","security"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/entrlcom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-06-11T19:59:30.000Z","updated_at":"2025-05-05T16:57:24.000Z","dependencies_parsed_at":"2025-05-05T14:50:29.163Z","dependency_job_id":"cac8875f-193a-4a35-81e5-b60948af648b","html_url":"https://github.com/entrlcom/go-json-decoder","commit_stats":null,"previous_names":["entrlcom/go-http-request-body-json-decoder","entrlcom/go-json-decoder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/entrlcom/go-json-decoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entrlcom%2Fgo-json-decoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entrlcom%2Fgo-json-decoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entrlcom%2Fgo-json-decoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entrlcom%2Fgo-json-decoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/entrlcom","download_url":"https://codeload.github.com/entrlcom/go-json-decoder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entrlcom%2Fgo-json-decoder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263208051,"owners_count":23430676,"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":["go","http-request","json","pkg","request-body","security"],"created_at":"2025-05-19T15:14:15.938Z","updated_at":"2025-07-02T20:07:28.630Z","avatar_url":"https://github.com/entrlcom.png","language":"Go","readme":"# JSON Decoder\n\n## Table of Content\n\n- [Authors](#authors)\n- [Examples](#examples)\n\n## Authors\n\n| Name         | GitHub                                             |\n|--------------|----------------------------------------------------|\n| Klim Sidorov | [@entrlcom-klim](https://github.com/entrlcom-klim) |\n\n## Examples\n\n```go\npackage main\n\nimport (\n\t\"net/http\"\n\t\"time\"\n\n\t\"flida.dev/unit\"\n\n\t\"flida.dev/json-decoder\"\n)\n\nconst limit = unit.B * 128 // 128 B.\n\ntype HTTPRequestBody struct {\n\tDateOfBirth time.Time `json:\"date_of_birth\"`\n\tName        string    `json:\"name\"`\n}\n\nfunc ServeHTTP(w http.ResponseWriter, r *http.Request) {\n\tvar body HTTPRequestBody\n\n\tif err := json_decoder.NewHTTPRequestDecoder(limit).Decode(w, r, \u0026body); err != nil {\n\t\t// TODO: ...\n\t\treturn\n    }\n\n\t// ...\n}\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentrlcom%2Fgo-json-decoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fentrlcom%2Fgo-json-decoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentrlcom%2Fgo-json-decoder/lists"}