AnointedAutomation.Serialization
1.0.1
dotnet add package AnointedAutomation.Serialization --version 1.0.1
NuGet\Install-Package AnointedAutomation.Serialization -Version 1.0.1
<PackageReference Include="AnointedAutomation.Serialization" Version="1.0.1" />
<PackageVersion Include="AnointedAutomation.Serialization" Version="1.0.1" />
<PackageReference Include="AnointedAutomation.Serialization" />
paket add AnointedAutomation.Serialization --version 1.0.1
#r "nuget: AnointedAutomation.Serialization, 1.0.1"
#:package AnointedAutomation.Serialization@1.0.1
#addin nuget:?package=AnointedAutomation.Serialization&version=1.0.1
#tool nuget:?package=AnointedAutomation.Serialization&version=1.0.1
AnointedAutomation.Serialization
Jesus is King ✝️
Shared serialization helpers for .NET 10. No MongoDB dependency (the BSON pieces live in AnointedAutomation.Repository.Mongo).
AnointedAutomation.Serialization.Naming.NamingRules:ToCamel,ToCamelJson,ToPascal,ToSnake, and the hybrid rule (IsCamelMember/ToHybrid: value-type, enum and struct members camelCase, reference-type members PascalCase).AnointedAutomation.Serialization.SystemTextJson:JsonCasingConvention,UtcDateTimeJsonConverter,JsonPresets(shared read-only option sets) andAnointedJson.ConfigureApi(one call for MVC and Minimal API hosts).AnointedAutomation.Serialization.Newtonsoft:TolerantEnumConverter,StringOrBoolConverter,DateFormatConverter,NullOnErrorConverter.AnointedAutomation.Serialization.Json: lenientJsonElementreaders (JsonElementExtensions,ResponseJson).
builder.Services.AddControllers().AddJsonOptions(o => AnointedJson.ConfigureApi(o.JsonSerializerOptions));
builder.Services.ConfigureHttpJsonOptions(o => AnointedJson.ConfigureApi(o.SerializerOptions));
- Target framework:
net10.0 - Dependencies:
Newtonsoft.Json
License
MIT. DateFormatConverter and NullOnErrorConverter are derived from ShopifySharp (Copyright (c) 2015 Joshua Harms, MIT).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Newtonsoft.Json (>= 13.0.4)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on AnointedAutomation.Serialization:
| Package | Downloads |
|---|---|
|
AnointedAutomation.Objects
Plain POCO models for user accounts, billing and payments, single sign-on identities (Google, Microsoft, Apple, Facebook, Discord, GitHub, LinkedIn, Twitch, Yahoo, Amazon, Reddit, Shopify), and standard API response envelopes. |
|
|
AnointedAutomation.Repository.Mongo
A MongoDB helper and generic repository base for .NET, with CRUD, paging, aggregation, index management, BSON class maps and casing conventions. |
|
|
AnointedAutomation.Objects.API
ASP.NET Core helpers: an in memory IFormFile, a hybrid casing System.Text.Json naming convention, and a GraphQL response envelope reader. |
|
|
AnointedAutomation.Shopify
Plain Newtonsoft.Json POCO models for the Shopify Admin REST API (customers, orders, products, fulfillments, inventory, refunds, transactions, webhooks and more), derived from ShopifySharp's REST entities. Models only: no HTTP client, no services, no GraphQL types. |
GitHub repositories
This package is not used by any popular GitHub repositories.