.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.
Exploring Go's standard library features like JSON, templates, and static file embedding for SaaS development.
Explains how to store complex objects and lists as JSON in databases using Entity Framework 8 and 7, including configuration and benefits.
Learn how to use .NET 6 JSON source generators to optimize serialization and boost performance in ASP.NET Core APIs.
A guide to implementing multiple JSON serialization settings for different endpoints in ASP.NET Core Web APIs using custom formatters.
Explains a quirk in ActiveRecord's as_json method when deprecating fields and how to properly exclude them from nested JSON output.
A guide on fixing JSON deserialization issues when migrating from Newtonsoft.Json to System.Text.Json in .NET 6 Web APIs.
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 binding and validating enum values from user input in ASP.NET Core APIs, addressing common pitfalls and providing utility code.
Explains how to implement custom JSON converters in .NET to handle type hierarchies when serializing/deserializing data for Cosmos DB.
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.
Explores Python's functools.singledispatch for elegant, extensible JSON serialization of custom objects, moving beyond the standard json module's limitations.