{"id":35003973,"url":"https://github.com/mayur-tolexo/j2s","last_synced_at":"2026-04-27T07:34:09.531Z","repository":{"id":117668947,"uuid":"220436093","full_name":"mayur-tolexo/j2s","owner":"mayur-tolexo","description":"Golang code generator for creating struct from json.","archived":false,"fork":false,"pushed_at":"2019-12-11T12:23:31.000Z","size":60,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-27T07:34:00.274Z","etag":null,"topics":["generate-code","go","json","json2struct","struct","template"],"latest_commit_sha":null,"homepage":null,"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/mayur-tolexo.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-11-08T09:46:30.000Z","updated_at":"2022-01-10T01:56:59.000Z","dependencies_parsed_at":"2024-06-19T12:34:10.811Z","dependency_job_id":"663f743f-5781-4f07-85c4-907b92574304","html_url":"https://github.com/mayur-tolexo/j2s","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mayur-tolexo/j2s","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayur-tolexo%2Fj2s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayur-tolexo%2Fj2s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayur-tolexo%2Fj2s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayur-tolexo%2Fj2s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mayur-tolexo","download_url":"https://codeload.github.com/mayur-tolexo/j2s/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayur-tolexo%2Fj2s/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32327701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["generate-code","go","json","json2struct","struct","template"],"created_at":"2025-12-27T04:25:15.281Z","updated_at":"2026-04-27T07:34:09.523Z","avatar_url":"https://github.com/mayur-tolexo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Godocs](https://img.shields.io/badge/golang-documentation-blue.svg)](https://www.godoc.org/github.com/mayur-tolexo/j2s)\n[![Go Report Card](https://goreportcard.com/badge/github.com/mayur-tolexo/j2s)](https://goreportcard.com/report/github.com/mayur-tolexo/j2s)\n[![Open Source Helpers](https://www.codetriage.com/mayur-tolexo/sworker/badges/users.svg)](https://www.codetriage.com/mayur-tolexo/j2s)\n[![Release](https://img.shields.io/github/release/mayur-tolexo/sworker.svg?style=flat-square)](https://github.com/mayur-tolexo/j2s/releases)\n\n# jsonToStruct\nGolang code generator for creating struct from json.\n\n### INSTALLATION\ngo get github.com/mayur-tolexo/j2s\n\n### Tags:\n  - -ip=input.json [Input File (default \"input.json\")]\n  - -op=bakery.go [Output File (default \"output.go\")]\n  - -name=Bakery [Structure Name (default \"User\")]\n  - -reuse=1 [if you want to reuse struct having same fields (default 0)]\n\n#### Create Struct from console json.\n| Command        | Output           |\n| ------------- |:-------------:|\n|![Screenshot 2019-11-16 at 12 31 41 AM](https://user-images.githubusercontent.com/20511920/68968935-bf928580-0809-11ea-8249-f3f91503ea4d.png)| ![Screenshot 2019-11-16 at 12 32 14 AM](https://user-images.githubusercontent.com/20511920/68968979-d9cc6380-0809-11ea-89ef-35942637395f.png) |\n\n\n\n\n\n\n#### Create struct from json input file.\n![Screenshot 2019-11-16 at 12 33 10 AM](https://user-images.githubusercontent.com/20511920/68968551-ddabb600-0808-11ea-84e7-2c54fbc5aef0.png)\n\n| Input        | Output         |\n| ------------- |:-------------:|\n| ![Screenshot 2019-11-16 at 12 32 37 AM](https://user-images.githubusercontent.com/20511920/68968647-1ea3ca80-0809-11ea-961b-d3fc926d0252.png)| ![Screenshot 2019-11-16 at 12 33 24 AM](https://user-images.githubusercontent.com/20511920/68968696-3da25c80-0809-11ea-9c9d-0a0191244f55.png) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayur-tolexo%2Fj2s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayur-tolexo%2Fj2s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayur-tolexo%2Fj2s/lists"}