{"id":37123207,"url":"https://github.com/liues1992/json2pbdef","last_synced_at":"2026-01-14T14:13:59.887Z","repository":{"id":57539311,"uuid":"164449662","full_name":"liues1992/json2pbdef","owner":"liues1992","description":"generate protobuf definition from json/yaml data","archived":false,"fork":false,"pushed_at":"2023-07-22T15:54:04.000Z","size":9,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T13:40:59.838Z","etag":null,"topics":["json","protobuf","yaml"],"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/liues1992.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}},"created_at":"2019-01-07T15:07:04.000Z","updated_at":"2023-07-22T15:54:10.000Z","dependencies_parsed_at":"2024-06-20T13:08:53.871Z","dependency_job_id":null,"html_url":"https://github.com/liues1992/json2pbdef","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/liues1992/json2pbdef","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liues1992%2Fjson2pbdef","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liues1992%2Fjson2pbdef/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liues1992%2Fjson2pbdef/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liues1992%2Fjson2pbdef/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liues1992","download_url":"https://codeload.github.com/liues1992/json2pbdef/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liues1992%2Fjson2pbdef/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28422423,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","protobuf","yaml"],"created_at":"2026-01-14T14:13:59.208Z","updated_at":"2026-01-14T14:13:59.872Z","avatar_url":"https://github.com/liues1992.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://996.icu\"\u003e\u003cimg src=\"https://img.shields.io/badge/link-996.icu-red.svg\"\u003e\u003c/a\u003e\n# json2pbdef\ncreate protobuf definition from json data\n\n# Usage\n\n```\njson2pbdef '{\"msg\":\"hello\"}'\n\n# output\nmessage Message {\n    string msg = 1;\n}\n```\n\n```\njson2pbdef input.txt\n\njson2pbdef http://jsonapi.com/some_json_response\n\ncat text.json | json2pbdef\n\n```\n\n# TODO\n- List rules that the json data must obey\n- Add more tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliues1992%2Fjson2pbdef","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliues1992%2Fjson2pbdef","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliues1992%2Fjson2pbdef/lists"}