{"id":15192472,"url":"https://github.com/luojilab/json2graphql","last_synced_at":"2025-10-27T18:30:27.696Z","repository":{"id":57487565,"uuid":"167938352","full_name":"luojilab/json2graphql","owner":"luojilab","description":"Help you to convert json to graphql schema effortlessly. https://luojilab.github.io/json2graphql/","archived":false,"fork":false,"pushed_at":"2019-08-29T14:34:44.000Z","size":131,"stargazers_count":21,"open_issues_count":2,"forks_count":14,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-01T07:31:42.079Z","etag":null,"topics":["code-generator","graphql","graphql-schema","json-to-graphql"],"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/luojilab.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}},"created_at":"2019-01-28T09:53:27.000Z","updated_at":"2025-01-16T01:31:00.000Z","dependencies_parsed_at":"2022-08-29T13:30:20.603Z","dependency_job_id":null,"html_url":"https://github.com/luojilab/json2graphql","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/luojilab%2Fjson2graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luojilab%2Fjson2graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luojilab%2Fjson2graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luojilab%2Fjson2graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luojilab","download_url":"https://codeload.github.com/luojilab/json2graphql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238536068,"owners_count":19488647,"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":["code-generator","graphql","graphql-schema","json-to-graphql"],"created_at":"2024-09-27T21:40:39.371Z","updated_at":"2025-10-27T18:30:22.373Z","avatar_url":"https://github.com/luojilab.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"A tool to generate graphql schema from json.\n\n# Usage\n```bash\ngo run main.go -h\n```\n\n\n    NAME:\n       inspect - generate a graphql schema based on json\n\n    USAGE:\n       main [global options] command [command options] [arguments...]\n\n    DESCRIPTION:\n       inspect json and generate draft schema.graphql\n\n    COMMANDS:\n         inspect  generate a graphql schema based on json\n         help, h  Shows a list of commands or help for one command\n\n    GLOBAL OPTIONS:\n       --verbose, -v             show logs\n       --input value, -i value   the json filename\n       --output value, -o value  the target filename to store generated schema\n       --help, -h                show help\n\n# Example\n\n```bash\ngo run main.go -i example.json\n```\n# Live Demo\n\nhttps://luojilab.github.io/json2graphql/\n\n# TODO\n\n- [x] build it as a web service that render schema on the fly like [json.cn](https://json.cn)\n- [ ] support to read from multi json files.\n- [ ] get input from http request rather than local file.\n- [ ] integrate with graphql server frameworks like [gqlgen](https://github.com/99designs/gqlgen) and auto generate resolver\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluojilab%2Fjson2graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluojilab%2Fjson2graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluojilab%2Fjson2graphql/lists"}