{"id":24408065,"url":"https://github.com/riversidevalley/jsonbinder","last_synced_at":"2025-07-16T23:35:30.145Z","repository":{"id":272974946,"uuid":"918071063","full_name":"RiversideValley/JsonBinder","owner":"RiversideValley","description":"Convert JSON to any language!","archived":false,"fork":false,"pushed_at":"2025-02-02T19:05:56.000Z","size":118,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-09T03:38:50.324Z","etag":null,"topics":["csharp","csharp-library","dotnet","dotnet-library","json","json-parser","riverside","riversidevalley"],"latest_commit_sha":null,"homepage":"https://riversidevalley.github.io/JsonBinder/","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/RiversideValley.png","metadata":{"files":{"readme":"docs/README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null},"funding":{"github":"RiversideValley"}},"created_at":"2025-01-17T07:37:54.000Z","updated_at":"2025-04-20T07:06:46.000Z","dependencies_parsed_at":"2025-01-17T19:45:08.017Z","dependency_job_id":"a3f63d2e-2e31-487c-9f61-0065ec235e79","html_url":"https://github.com/RiversideValley/JsonBinder","commit_stats":null,"previous_names":["riversidevalley/jsonbinder"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/RiversideValley/JsonBinder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RiversideValley%2FJsonBinder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RiversideValley%2FJsonBinder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RiversideValley%2FJsonBinder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RiversideValley%2FJsonBinder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RiversideValley","download_url":"https://codeload.github.com/RiversideValley/JsonBinder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RiversideValley%2FJsonBinder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265550420,"owners_count":23786565,"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":["csharp","csharp-library","dotnet","dotnet-library","json","json-parser","riverside","riversidevalley"],"created_at":"2025-01-20T05:34:05.622Z","updated_at":"2025-07-16T23:35:30.140Z","avatar_url":"https://github.com/RiversideValley.png","language":"C#","funding_links":["https://github.com/sponsors/RiversideValley"],"categories":[],"sub_categories":[],"readme":"# 🧩  `Riverside.JsonBinder`\n\n`Riverside.JsonBinder` is a .NET based library that generates language-specific class representations from JSON input. It supports multiple programming languages.\n\n## ✨ Features\n\n- Converts JSON into class representations for:\n  - C#, Python, Java, JavaScript, TypeScript, PHP, Ruby, and Swift.\n- Multi-language selection for simultaneous generation.\n- User-friendly interface with detailed error handling.\n\n## 🛠️ Usage\n\n### 📚 Using the Library\n\nTo use the library in your .NET project, include the `Riverside.JsonBinder` namespace and call the static method `JsonSerializer.ConvertTo`:\n\n```csharp\nusing Riverside.JsonBinder;\n\nstring json = \"{ \\\"Name\\\": \\\"John\\\", \\\"Age\\\": 30 }\";\nstring result = JsonSerializer.ConvertTo(json, SerializableLanguage.CSharp);\nConsole.WriteLine(result);\n```\n\nThis method takes two parameters:\n\n1. `json`: A string containing the JSON input.\n2. `language`: An enum specifying the target SerializableLanguage\n\nSupported languages include:\n\n- `SerializableLanguage.CSharp`\n- `SerializableLanguage.Python`\n- `SerializableLanguage.Java`\n- `SerializableLanguage.JavaScript`\n- `SerializableLanguage.TypeScript`\n- `SerializableLanguage.PHP`\n- `SerializableLanguage.Ruby`\n- `SerializableLanguage.Swift`\n\nYou can use the output directly in your projects or customize it as needed.\n\n## 🚀 Running the Test Program\n\nTo see the library in action:\n\n1. Compile the solution using your chosen TFM.\n2. Run the `Riverside.JsonBinder.Console` project.\n3. Use the interactive menu to input JSON and select target languages.\n\nThe program will display the generated classes for the chosen languages in an organized format.\n\n- ❌ Invalid JSON displays an error in **red** and returns to the main menu.\n\n### 📋 Requirements\n\n- Any version of .NET\n- Basic understanding of JSON and object-oriented programming.\n\n## ⚖️ License\n\nThis project, including the library `Riverside.JsonBinder`, is licensed under the **MIT License**. You are free to use, modify, and distribute the software, provided you adhere to the terms of the license.\n\n---\n  \n***Crafted with the help of AI magic.***  \n*GPT4o \u0026 Claude 3.5 Sonnet.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friversidevalley%2Fjsonbinder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friversidevalley%2Fjsonbinder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friversidevalley%2Fjsonbinder/lists"}