.NET 10: System.Text.Json Improvements
Explores new .NET 10 features for System.Text.Json, including duplicate property rejection and PipeReader integration for better performance.
Explores new .NET 10 features for System.Text.Json, including duplicate property rejection and PipeReader integration for better performance.
A technical guide on implementing AES-GCM encryption for property serialization using System.Text.Json in .NET.
A technical guide on using System.Text.Json and TypeInfoResolver to automatically encrypt/decrypt sensitive properties during JSON serialization.
Introducing VestPocket, a file-based key-value store library for .NET AOT applications, offering lightweight data persistence without a database engine.
A guide to creating and testing custom JsonConverter classes in C# using System.Text.Json, including helpful extension methods for unit tests.
Analyzes a performance quirk in C#'s JsonSerializer when creating new JsonSerializerOptions instances, showing significant memory and speed penalties.
A guide to integrating .NET 6's JSON source generator for improved performance in ASP.NET Core Minimal APIs, including a custom extension method.
Explains how to serialize C# 9 strongly-typed IDs to JSON using System.Text.Json, covering custom converters and a converter factory.
Explains two methods to inject services into System.Text.Json converters in .NET, covering global and case-by-case scenarios.
Explains how to serialize a custom C# type as a JSON string in ASP.NET Core APIs using System.Text.Json or JSON.NET converters.
A guide to creating a custom JsonConverter in System.Text.Json for deserializing JSON into polymorphic class hierarchies, using a real-world SDK example.
A guide on integrating the new System.Text.Json APIs with the Refit library in .NET Core 3.0 to improve HTTP API call performance.