{"id":20299004,"url":"https://github.com/ktonon/json2java","last_synced_at":"2025-10-05T13:40:18.758Z","repository":{"id":7657675,"uuid":"9018918","full_name":"ktonon/json2java","owner":"ktonon","description":"Sample project which demonstrates how cog could be used to convert json data into Java classes","archived":false,"fork":false,"pushed_at":"2013-03-26T00:40:16.000Z","size":108,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-24T07:39:16.438Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/ktonon.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}},"created_at":"2013-03-25T23:55:45.000Z","updated_at":"2015-06-15T03:40:32.000Z","dependencies_parsed_at":"2022-09-11T10:10:27.874Z","dependency_job_id":null,"html_url":"https://github.com/ktonon/json2java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ktonon/json2java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktonon%2Fjson2java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktonon%2Fjson2java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktonon%2Fjson2java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktonon%2Fjson2java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ktonon","download_url":"https://codeload.github.com/ktonon/json2java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktonon%2Fjson2java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278464314,"owners_count":25991176,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-14T16:13:08.907Z","updated_at":"2025-10-05T13:40:18.742Z","avatar_url":"https://github.com/ktonon.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Example json2java Generator using cog\n=====================================\n\nThis simple project demonstrates how to use [cog][] to generate Java classes from\ndata stored in json files.\n\nTo play with this example install cog\n\n```\n$ gem install cog\n```\n\nedit the `json/sample.json` file and re-run the generator to update `src/Sample.java`\n\n```\n$ cog gen\n```\n\nThe code which reads the JSON and writes the Java file is located in `cog/generators/json2java.rb`. It makes use of an ERB template located in `cog/templates/javaClass.java.erb`\n\n[cog]: https://github.com/ktonon/cog\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fktonon%2Fjson2java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fktonon%2Fjson2java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fktonon%2Fjson2java/lists"}