You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b368f4d
Browse filesBrowse the repository at this point in the historyBrowse files
CamelCase serialization: retarget net10.0, cache the options instance, add the web preset
- Both projects net7.0 -> net10.0.
- Test packages to current stable: Microsoft.NET.Test.Sdk 18.9.0, xunit 2.9.3,
xunit.runner.visualstudio 4.0.0, coverlet.collector 10.0.1.
- JsonSerializerExtensions now holds one static readonly JsonSerializerOptions
instead of building a fresh instance per call, and DeserializeFromCamelCase<T>
returns T? (Deserialize<T> can return null; the old signature raised CS8603).
- Program.cs demonstrates new JsonSerializerOptions(JsonSerializerDefaults.Web),
the preset ASP.NET Core applies, with a covering test.
- ExtensionTests: xUnit assertion arguments were reversed (Assert.Equal(actual,
expected)); swapped to (expected, actual) and used Assert.True for the boolean.
0 commit comments