{"id":24841520,"url":"https://github.com/phema-team/phema.serialization","last_synced_at":"2026-04-29T08:02:10.194Z","repository":{"id":38010247,"uuid":"164303095","full_name":"phema-team/Phema.Serialization","owner":"phema-team","description":"Serialization wrappers in unified manner","archived":false,"fork":false,"pushed_at":"2022-12-08T05:27:18.000Z","size":32,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T07:23:04.428Z","etag":null,"topics":["dependency-injection","json","messagepack","serialization","xml"],"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/phema-team.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}},"created_at":"2019-01-06T12:03:32.000Z","updated_at":"2020-10-03T14:22:48.000Z","dependencies_parsed_at":"2023-01-25T07:15:11.806Z","dependency_job_id":null,"html_url":"https://github.com/phema-team/Phema.Serialization","commit_stats":null,"previous_names":["sergeyshaykhullin/phema.serialization"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phema-team%2FPhema.Serialization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phema-team%2FPhema.Serialization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phema-team%2FPhema.Serialization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phema-team%2FPhema.Serialization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phema-team","download_url":"https://codeload.github.com/phema-team/Phema.Serialization/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245598306,"owners_count":20641884,"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":["dependency-injection","json","messagepack","serialization","xml"],"created_at":"2025-01-31T07:18:35.207Z","updated_at":"2026-04-29T08:02:05.151Z","avatar_url":"https://github.com/phema-team.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phema.Serialization\n\n[![Build Status](https://cloud.drone.io/api/badges/phema-team/Phema.Serialization/status.svg)](https://cloud.drone.io/phema-team/Phema.Serialization)\n\nC# Json, xml, protobuf and messagepack wrappers for `Microsoft.Extensions.DependencyInjection`\n\n## Packages\n\n- [![Nuget](https://img.shields.io/nuget/v/Phema.Serialization.svg)](https://www.nuget.org/packages/Phema.Serialization) `Phema.Serialization`\n- [![Nuget](https://img.shields.io/nuget/v/Phema.Serialization.Json.svg)](https://www.nuget.org/packages/Phema.Serialization.Json) `Phema.Serialization.Json` - require netcoreapp3.0\n- [![Nuget](https://img.shields.io/nuget/v/Phema.Serialization.MessagePack.svg)](https://www.nuget.org/packages/Phema.Serialization.MessagePack) `Phema.Serialization.MessagePack`\n- [![Nuget](https://img.shields.io/nuget/v/Phema.Serialization.NewtonsoftJson.svg)](https://www.nuget.org/packages/Phema.Serialization.NewtonsoftJson) `Phema.Serialization.NewtonsoftJson`\n- [![Nuget](https://img.shields.io/nuget/v/Phema.Serialization.Protobuf.svg)](https://www.nuget.org/packages/Phema.Serialization.Protobuf) `Phema.Serialization.Protobuf`\n- [![Nuget](https://img.shields.io/nuget/v/Phema.Serialization.Xml.svg)](https://www.nuget.org/packages/Phema.Serialization.Xml) `Phema.Serialization.Xml`\n\n## Usage\n\n```csharp\n\n// Json\nservices.AddJsonSerializer();\n\n// Newtonsoft.Json\nservices.AddNewtonsoftJsonSerializer();\n\n// MessagePack\nservices.AddMessagePackSerializer();\n\n// XML\nservices.AddXmlSerializer();\n\n// Protobuf\nservices.AddProtobufSerializer();\n\n// Resolve\nvar serializer = provider.GetRequiredService\u003cISerializer\u003e();\n\n// Serialize\nvar serialized = serializer.Serialize(model);\n\n// Deserialize\nvar deserialized = serializer.Deserialize\u003cModel\u003e(serialized);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphema-team%2Fphema.serialization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphema-team%2Fphema.serialization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphema-team%2Fphema.serialization/lists"}