{"id":42751022,"url":"https://github.com/jsonyte/jsonyte","last_synced_at":"2026-01-29T19:33:40.892Z","repository":{"id":37827373,"uuid":"192737760","full_name":"jsonyte/jsonyte","owner":"jsonyte","description":"A System.Text.Json serializer and deserializer for the JSON:API specification.","archived":false,"fork":false,"pushed_at":"2025-08-01T09:49:39.000Z","size":383,"stargazers_count":7,"open_issues_count":10,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T03:34:15.296Z","etag":null,"topics":["dotnet","json-api"],"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/jsonyte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2019-06-19T13:28:37.000Z","updated_at":"2025-06-11T22:38:06.000Z","dependencies_parsed_at":"2025-06-03T00:41:48.659Z","dependency_job_id":"f1f1886a-8d67-407f-8110-1e37f205ffcd","html_url":"https://github.com/jsonyte/jsonyte","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/jsonyte/jsonyte","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonyte%2Fjsonyte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonyte%2Fjsonyte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonyte%2Fjsonyte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonyte%2Fjsonyte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsonyte","download_url":"https://codeload.github.com/jsonyte/jsonyte/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonyte%2Fjsonyte/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28883091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T19:23:39.025Z","status":"ssl_error","status_checked_at":"2026-01-29T19:22:11.631Z","response_time":59,"last_error":"SSL_read: 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":["dotnet","json-api"],"created_at":"2026-01-29T19:33:40.761Z","updated_at":"2026-01-29T19:33:40.883Z","avatar_url":"https://github.com/jsonyte.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jsonyte\n\n[![Docs](https://img.shields.io/badge/docs-wiki-blue.svg?style=for-the-badge)](https://github.com/jsonyte/jsonyte/wiki) [![NuGet](https://img.shields.io/nuget/v/Jsonyte?style=for-the-badge)](https://www.nuget.org/packages/Jsonyte) [![Discussions](https://img.shields.io/badge/DISCUSS-ON%20GITHUB-yellow?style=for-the-badge)](https://github.com/jsonyte/jsonyte/discussions) [![License](https://img.shields.io/github/license/jsonyte/jsonyte?style=for-the-badge)](https://github.com/jsonyte/jsonyte/blob/master/LICENSE)\n\nA high-performance library for serializing and deserializing [JSON:API](https://jsonapi.org) documents using `System.Text.Json`.\n\nJsonyte aims to be:\n\n- 🏃 Lightning-fast, as much as **3-5x faster** than other JSON:API serializers for .NET\n- 🤝 Simple to setup and easy to use with existing code models\n- 🏗️ Easily integrated with ASP.NET Core\n- ☑️ Fully compliant with the JSON:API `v1.0` specification (`v1.1` support coming soon)\n\n## Usage\nInstall the package from NuGet with `dotnet add package Jsonyte`.\n\n```csharp\nvar options = new JsonSerializerOptions();\noptions.AddJsonApi();\n\nvar json = JsonSerializer.Serialize(new Article(), options);\nvar article = JsonSerializer.Deserialize(json, options);\n```\n\nFor an ASP.NET Core application, simply add the following to the startup:\n```csharp\npublic class Startup\n{\n    public void ConfigureServices(IServiceCollection services)\n    {\n        services\n            .AddControllers()\n            .AddJsonOptions(x =\u003e x.JsonSerializerOptions.AddJsonApi());\n    }\n}\n```\n\n## Quick start\nJsonyte will serialize and deserialize plain C# objects to and from the [JSON:API](https://jsonapi.org) format.\n\nFor example, the below model will serialize and deserialize the corresponding JSON:API document:\n\n```csharp\npublic class Article\n{\n    public string Id { get; set; } = \"1\";\n\n    public string Type { get; set; } = \"articles\";\n\n    public string Title { get; set; } = \"JSON:API\";\n}\n```\n\n```json\n{\n  \"data\": {\n    \"type\": \"articles\",\n    \"id\": \"1\",\n    \"attributes\": {\n      \"title\": \"JSON:API\"\n    }\n  }\n}\n```\n\nYou can also specify your resource type using attributes:\n\n```csharp\n[JsonApiResource(\"articles\")]\npublic class Article\n{\n    public string Id { get; set; } = \"1\";\n\n    public string Title { get; set; } = \"JSON:API\";\n}\n```\n\n## Documentation\nSee the [wiki](https://github.com/jsonyte/jsonyte/wiki) for examples and help using Jsonyte.\n\n## Get in touch\nDiscuss with us on [Discussions](https://github.com/jsonyte/jsonyte/discussions), or raise an [issue](https://github.com/jsonyte/jsonyte/issues).\n\n[![Discussions](https://img.shields.io/badge/DISCUSS-ON%20GITHUB-yellow?style=for-the-badge)](https://github.com/jsonyte/jsonyte/discussions)\n\n## Contributing\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to this project.\n\n## Acknowledgements\nInspired by the excellent [JsonApiSerializer](https://github.com/codecutout/JsonApiSerializer)\n\n## License\nJsonyte is released under the [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonyte%2Fjsonyte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsonyte%2Fjsonyte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonyte%2Fjsonyte/lists"}