{"id":19099939,"url":"https://github.com/andeart/jsonbutler-ide","last_synced_at":"2026-01-23T00:30:21.254Z","repository":{"id":40926187,"uuid":"144241206","full_name":"andeart/JsonButler-IDE","owner":"andeart","description":"Visual Studio extension that adds several JSON-conversion features within the IDE. Generate C# types from JSON. Serialize C# types to JSON (within code editor). Change cases of phrases.","archived":false,"fork":false,"pushed_at":"2024-08-26T23:44:57.000Z","size":3785,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T16:44:08.869Z","etag":null,"topics":["code-generation","csharp","dotnet","json","visual-studio","visual-studio-extension","vs-extension"],"latest_commit_sha":null,"homepage":"","language":"C#","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/andeart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2018-08-10T05:33:49.000Z","updated_at":"2024-09-02T02:40:54.000Z","dependencies_parsed_at":"2024-11-09T04:03:47.426Z","dependency_job_id":null,"html_url":"https://github.com/andeart/JsonButler-IDE","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/andeart/JsonButler-IDE","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andeart%2FJsonButler-IDE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andeart%2FJsonButler-IDE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andeart%2FJsonButler-IDE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andeart%2FJsonButler-IDE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andeart","download_url":"https://codeload.github.com/andeart/JsonButler-IDE/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andeart%2FJsonButler-IDE/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28676145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T20:48:19.482Z","status":"ssl_error","status_checked_at":"2026-01-22T20:48:14.968Z","response_time":144,"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":["code-generation","csharp","dotnet","json","visual-studio","visual-studio-extension","vs-extension"],"created_at":"2024-11-09T03:52:23.957Z","updated_at":"2026-01-23T00:30:21.178Z","avatar_url":"https://github.com/andeart.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [![logo-v2-64-vs][jsonbutlervs icon]](#) JsonButler-IDE\n\n[![github-release](https://img.shields.io/github/release/andeart/JsonButler-IDE.svg)](https://github.com/andeart/JsonButler-IDE/releases/latest) [![github-dls](https://img.shields.io/github/downloads/andeart/JsonButler-IDE/total.svg)](https://github.com/andeart/JsonButler-IDE/releases/latest)\u003cbr/\u003e\n\n`JsonButler-IDE` lets you use [JsonButler][jsonbutler library]'s features inside your Visual Studio environment, along with some additional features.\n\n- Generate C# types from JSON snippets/files.\n- Serialize C# types to JSON text, from within Visual Studio (project does not need to be running).\n- Easily change cases of phrases (to camelCase, lower_snake_case, PascalCase, and _underscoreCamelCase).\n- More features coming soon!\n\n## Generate C# types from JSON snippets/files.\nConvert your JSON snippets easily into C# types usable in code.\u003cbr/\u003e\nFor example:\u003cbr/\u003e\n![json-source][jb-0-jsonsource]\u003cbr/\u003e\nautomatically generates:\n```csharp\nnamespace Andeart.CustomPayloads\n{\n    public class MyNewPayload\n    {\n        [JsonProperty (\"name\")]\n        public string Name { get; private set; }\n\n        [JsonProperty (\"lines\")]\n        public string[] Lines { get; private set; }\n\n        [JsonProperty (\"winning_number\")]\n        public int WinningNumber { get; private set; }\n\n        [JsonProperty (\"new_type\")]\n        public NewType NewType { get; private set; }\n\n        [JsonConstructor]\n        private MyNewPayload (string name, string[] lines, int winningNumber, NewType newType)\n        {\n            Name = name;\n            Lines = lines;\n            WinningNumber = winningNumber;\n            NewType = newType;\n        }\n    }\n\n    public class NewType\n    {\n        [JsonProperty (\"nested_type\")]\n        public NestedType NestedType { get; private set; }\n\n        [JsonConstructor]\n        private NewType (NestedType nestedType)\n        {\n            NestedType = nestedType;\n        }\n    }\n\n    public class NestedType\n    {\n        [JsonProperty (\"id\")]\n        public float Id { get; private set; }\n\n        [JsonConstructor]\n        private NestedType (float id)\n        {\n            Id = id;\n        }\n    }\n}\n```\n\n## Serialize C# types to JSON text, from within Visual Studio\n\nConvert your C# payload types into JSON, using default values as needed.\u003cbr/\u003e\nFor example: \u003cbr/\u003e\n```csharp\npublic class HandleMaterial\n{\n    public int MaterialName { get; }\n\n    public HandleMaterial (int materialName)\n    {\n        MaterialName = materialName;\n    }\n}\n\n\npublic class HandleData\n{\n    public float Strength { get; }\n\n    public HandleMaterial Material { get; }\n\n    [JsonIgnore]\n    public Handle Handle { get; private set; }\n\n    public HandleData (float strength, HandleMaterial material)\n    {\n        Strength = strength;\n        Material = material;\n    }\n}\n```\ncan be converted via the right-click context menu,\n![ser-cs][jb-1-sercs]\nto automatically generate this JSON snippet:\n```json\n{\n  \"strength\": 0.0,\n  \"material\": {\n    \"material_name\": 0\n  }\n}\n```\n\n## Installation and Usage\nDownload the `JsonButlerIde.vsix` file from [the Github releases page](https://github.com/andeart/JsonButler-IDE/releases/latest).\u003cbr /\u003e\nInstall the Visual Studio extension by running the `.vsix` file.\u003cbr /\u003e\nThis may also open up a dialog box that lets you choose which Visual Studio version you want to install this extension into.\n\nComing soon (maybe): A direct download from the Visual Studio Marketplace. \n\n## Feedback and Contribution\nPlease feel free to send in a Pull Request, or drop me an email. Cheers!\n\n\n[jsonbutler library]: https://github.com/andeart/JsonButler \"JsonButler\"\n[jsonbutlervs icon]: https://user-images.githubusercontent.com/6226493/44009167-a0dc8714-9e5e-11e8-93c9-802549e5187a.png \"JsonButler\"\n[jb-0-jsonsource]: https://user-images.githubusercontent.com/6226493/45602176-51b4b900-b9ce-11e8-8607-54146b1dad3d.png \"JsonButler\"\n[jb-1-sercs]: https://user-images.githubusercontent.com/6226493/45602343-5fb80900-b9d1-11e8-8add-733090a38b93.png \"JsonButler\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandeart%2Fjsonbutler-ide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandeart%2Fjsonbutler-ide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandeart%2Fjsonbutler-ide/lists"}