{"id":23878317,"url":"https://github.com/jscarle/systemtextjsoncustomenumserialization","last_synced_at":"2026-05-09T02:36:08.461Z","repository":{"id":231332887,"uuid":"781463086","full_name":"jscarle/SystemTextJsonCustomEnumSerialization","owner":"jscarle","description":"Comparing different methods of serializing and deserializing custom enum values using System.Text.Json in .NET.","archived":false,"fork":false,"pushed_at":"2024-04-21T22:55:08.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T08:41:00.252Z","etag":null,"topics":["csharp","deserialization","dotnet","enum","json","serialization","system-text-json"],"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/jscarle.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,"zenodo":null}},"created_at":"2024-04-03T12:36:18.000Z","updated_at":"2024-04-21T22:55:11.000Z","dependencies_parsed_at":"2025-06-08T13:01:17.395Z","dependency_job_id":"c92f7f53-e79f-41ea-bf2b-e7d01683e3ab","html_url":"https://github.com/jscarle/SystemTextJsonCustomEnumSerialization","commit_stats":null,"previous_names":["jscarle/jsontests"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jscarle/SystemTextJsonCustomEnumSerialization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jscarle%2FSystemTextJsonCustomEnumSerialization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jscarle%2FSystemTextJsonCustomEnumSerialization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jscarle%2FSystemTextJsonCustomEnumSerialization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jscarle%2FSystemTextJsonCustomEnumSerialization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jscarle","download_url":"https://codeload.github.com/jscarle/SystemTextJsonCustomEnumSerialization/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jscarle%2FSystemTextJsonCustomEnumSerialization/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32805075,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["csharp","deserialization","dotnet","enum","json","serialization","system-text-json"],"created_at":"2025-01-03T21:19:29.854Z","updated_at":"2026-05-09T02:36:08.446Z","avatar_url":"https://github.com/jscarle.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# System.Text.Json Custom Enum Serialization\n\nComparing different methods of serializing and deserializing custom enum values using [System.Text.Json](https://learn.microsoft.com/en-us/dotnet/api/system.text.json).\n\n- Using the default `JsonSerializer` (see [source](https://github.com/jscarle/SystemTextJsonCustomEnumSerialization/blob/main/EnumSerialization.Tests/Default)📄).\n- Using a reflection based `JsonConverter` (see [source](https://github.com/jscarle/SystemTextJsonCustomEnumSerialization/tree/main/EnumSerialization.Tests/Reflection)📄).\n- Using an AOT compatible `JsonStringEnumConverter` with [source generation](https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/source-generation) \nas explained by [Eirik Tsarpalis](https://github.com/eiriktsarpalis) in this [comment](https://github.com/dotnet/runtime/issues/74385#issuecomment-1705083109) (see [source](https://github.com/jscarle/SystemTextJsonCustomEnumSerialization/tree/main/EnumSerialization.Tests/Aot)📄).\n\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/jscarle/SystemTextJsonCustomEnumSerialization/main.yml?logo=github\u0026label=tests)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjscarle%2Fsystemtextjsoncustomenumserialization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjscarle%2Fsystemtextjsoncustomenumserialization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjscarle%2Fsystemtextjsoncustomenumserialization/lists"}