{"id":13629505,"url":"https://github.com/serdedotnet/serde","last_synced_at":"2026-01-29T07:22:41.409Z","repository":{"id":38303981,"uuid":"350569181","full_name":"serdedotnet/serde","owner":"serdedotnet","description":"Serde.NET is a C# port of the popular Serde serialization library for Rust","archived":false,"fork":false,"pushed_at":"2024-10-16T22:38:35.000Z","size":2326,"stargazers_count":154,"open_issues_count":4,"forks_count":6,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-11-02T17:03:22.422Z","etag":null,"topics":["aot","csharp","serialization"],"latest_commit_sha":null,"homepage":"https://serdedotnet.github.io/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/serdedotnet.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":"2021-03-23T03:36:08.000Z","updated_at":"2024-10-24T14:17:31.000Z","dependencies_parsed_at":"2024-01-06T02:10:07.195Z","dependency_job_id":"379b84a1-9d13-4acd-aa9c-62bab2c5fee4","html_url":"https://github.com/serdedotnet/serde","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serdedotnet%2Fserde","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serdedotnet%2Fserde/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serdedotnet%2Fserde/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serdedotnet%2Fserde/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serdedotnet","download_url":"https://codeload.github.com/serdedotnet/serde/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223751177,"owners_count":17196584,"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":["aot","csharp","serialization"],"created_at":"2024-08-01T22:01:12.332Z","updated_at":"2026-01-07T10:18:29.901Z","avatar_url":"https://github.com/serdedotnet.png","language":"C#","funding_links":[],"categories":["Contributors Welcome for those"],"sub_categories":["1. [ThisAssembly](https://ignatandrei.github.io/RSCG_Examples/v2/docs/ThisAssembly) , in the [EnhancementProject](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#enhancementproject) category"],"readme":"# Serde.NET\n\nSerde.NET is a port of the popular [serde.rs](https://serde.rs) Rust ***ser***ialization/***de***serialization\nlibrary to .NET.\n\nFor an overview, see [Overview](https://serdedotnet.github.io/overview.html).\n\nStart by adding the `serde` NuGet package:\n\n```bash\ndotnet add package serde\n```\n\nTo generate serialization/deserialization info for a type, now do the following:\n1. Mark the type partial\n2. Add the `[GenerateSerde]` attribute\n\n\n```csharp\nusing Serde;\nusing Serde.Json;\n\nstring output = JsonSerializer.Serialize(new SampleClass());\n\n// prints: {\"X\":3,\"Y\":\"sample\"}\nConsole.WriteLine(output);\n\nvar deserialized = JsonSerializer.Deserialize\u003cSampleClass\u003e(output);\n\n// prints SampleClass { X = 3, Y = sample }\nConsole.WriteLine(deserialized);\n\n[GenerateSerde]\npartial record SampleClass\n{\n    // automatically includes public properties and fields\n    public int X { get; init; } = 3;\n    public string Y = \"sample\";\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserdedotnet%2Fserde","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserdedotnet%2Fserde","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserdedotnet%2Fserde/lists"}