general
System.Text.Json Articles, Tutorials & News
System.Text.Json articles, tutorials, and news from the DotNetNews archive.
48 articles Updated
System.Text.Json work shows up across many DotNetNews issues because teams keep hitting the same implementation questions. System.Text.Json is a recurring focus for C# and .NET developers working in the Microsoft ecosystem.
Recurring subtopics in recent issues include System.Text.Json C#, JSON source generation, JSON serialization .NET, and json. When a subtopic never appears in the archive titles or excerpts, it is left out of this introduction.
Expect publisher tutorials, release notes, architecture write-ups, and field notes linked from DotNetNews issues. Start here is a short editorial shortlist for System.Text.Json; the archive list is chronological and larger. Secondary angles such as System.Text.Json C# and System.Text.Json appear when the archive actually covered them. Cross-links to Newtonsoft.Json for C# and C# help when the problem spans more than one tag.
Each card points at the original publisher URL and the DotNetNews issue that carried it, so you can read the article in context or jump straight to the source.
Start here
Editor picks for System.Text.Json
-
Newtonsoft.Json vs System.Text.Json Which Should You Use in .NET?
medium.com Issue #444
A solid practical comparison of the two JSON stacks, especially if you're balancing legacy compatibility against newer platform defaults and performance.
-
Encrypting Properties with System.Text.Json and a TypeInfoResolver Modifier (Part 1)
stevejgordon.co.uk Issue #374
Covers encrypting Properties with System.Text.Json and a TypeInfoResolver Modifier (Part 1).
-
Make JSON Fast Again in .NET
blog.stackademic.com Issue #303
System.Text.Json performance patterns: source-gen, Utf8JsonReader, UnsafeRelaxedJsonEscaping, and buffer reuse.
-
Optimizing JSON Serialization in .NET: Newtonsoft.Json vs. System.Text.Json
blog.elmah.io Issue #176
A useful comparison that goes beyond syntax and looks at JSON serialization tradeoffs and performance.
-
Explaining System.Text.Json in .NET
csharp.com Issue #151
System.Text.Json remains essential knowledge for most modern .NET apps.
-
System.Text.Json vs. Newtonsoft.Json: Which One Should You Use in .NET 9?
medium.com Issue #144
https://medium.com/@ashokreddy343/system-text-json-vs-newtonsoft-json-which-one-should-you-use-in-net-9-535b752915ae.
-
You don't need to create all properties inside a DTO to successfully deserialize
c-sharpcorner.com Issue #504
Covers you don't need to create all properties inside a DTO to successfully deserialize.
-
.NET 11 Preview 8: New Features and Breaking Changes Explained
c-sharpcorner.com Issue #501
Preview coverage is always helpful, especially when breaking changes are called out plainly.
Archive
Page 1 of 2
Newest first
-
You don't need to create all properties inside a DTO to successfully deserialize
c-sharpcorner.com Issue #504
Short example on JSON serialisation aimed to combat excessive use of JObjects
-
.NET 11 Preview 8: New Features and Breaking Changes Explained
c-sharpcorner.com Issue #501
.NET 11 Preview 8: Explore new features like runtime performance, Native AOT, and JSON serialization. Prepare for breaking changes.
-
Case‑Insensitive JSON Schema Validation in .NET: Customizing String Comparison
blog.devgenius.io Issue #485
By the spec, JSON Schema compares strings exactly — code point for code point. Here’s how to make enum, const, and uniqueItems… Continue reading on Dev Genius »
-
💻 Issue 519 - Evolving your C# types without migrating stored JSON
dotnet.libhunt.com Issue #484
-
Structured Outputs in LLM Applications: A Complete C# Developer Guide
c-sharpcorner.com Issue #479
Learn how to implement structured outputs in C# AI applications. Discover schema validation, strongly typed models, JSON responses, and best practices for building reliable enterprise LLM solutions.
-
String vs JSON vs Object in .NET — Why Beginners Get Confused
medium.com Issue #446
When I started working with APIs in .NET, this was one of the most confusing things:
-
Newtonsoft.Json vs System.Text.Json Which Should You Use in .NET?
medium.com Issue #444
If you’ve worked with JSON in .NET, you’ve probably seen two different ways to handle it:
-
Serialization vs Deserialization in .NET — Explained Simply
medium.com Issue #443
When I first started working with APIs in .NET, I kept seeing these two terms everywhere:
-
High-Performance .NET APIs: Zero-Allocation Serialization Explained
medium.com Issue #435
1. Real-World Problem Scenario
-
Copilot CLI in VS Code
youtube.com Issue #412
.NET 10: System.Text.Json Improvements
-
Encrypting Properties with System.Text.Json and a TypeInfoResolver Modifier (Part 1)
stevejgordon.co.uk Issue #374
In this multi-part blog series, we’ll build a reasonably full-featured code base for automatically encrypting/decrypting specific properties on types that are being serialised and deserialised using S...
-
MAUI, EF Core, and auth hardening
DotNetNews Issue #355
A varied .NET roundup with MAUI resources, EF Core migrations and bulk retrieval, authentication hardening, HttpClientFactory, and more.
-
ASP.NET Core 9 performance, .NET 10 changes
DotNetNews Issue #334
A varied .NET roundup covering ASP.NET Core 9 speedups, .NET 10 breaking changes, logging, collections, rate limiting, and cloud updates.
-
ASP.NET evolution, AI in VS, and .NET 10 preview
DotNetNews Issue #325
A mixed issue covering ASP.NET history, .NET 10 reflection tricks, Blazor forms, Azure CI/CD, SQL Server JSON, performance, and Visual Studio AI.
-
ASP.NET Core, architecture, and performance
DotNetNews Issue #324
A varied .NET roundup with Clean Architecture, ASP.NET Core REST API guidance, LINQ and memory fixes, plus Redis, SQL Server, and WebAssembly.
-
ASP.NET Core APIs, validation, and design patterns
DotNetNews Issue #307
A varied .NET roundup covering API design, validation, EF Core, Redis caching, Aspire, security, and newer C# and .NET 9 guidance.
-
Make JSON Fast Again in .NET
blog.stackademic.com Issue #303
System.Text.Json performance patterns: source-gen, Utf8JsonReader, UnsafeRelaxedJsonEscaping, and buffer reuse. Continue reading on Stackademic »
-
2 months of lazy debugging JsonSerializationException and finally it was equality comparison
medium.com Issue #287
I’ll be honest: I lost two months to this.
-
Mapster + JSON in C#: The Lean Mapping Playbook (with real-world gotchas)
medium.com Issue #270
I was debugging a Blazor API at 2 AM when a simple mapping bug made my DTOs look like they were haunted. Spoiler: it wasn’t brujería — it… Continue reading on .Net Programming »
-
EF Core, AI, and runtime patterns
DotNetNews Issue #221
Issue #221 spans EF Core guidance, AI coding talks, logging and exception handling, HTTP and WebSockets, plus core runtime and language patterns.
-
System.Text.Json: The Ultimate Weapon for .NET JSON Battles
medium.com Issue #189
https://medium.com/@nagarajvela/system-text-json-the-ultimate-weapon-for-net-json-battles-0de69df406fb
-
EF Core, C#, and Azure security
DotNetNews Issue #186
Practical .NET coverage: EF Core tuning, C# pitfalls, OAuth client assertions, SignalR, Kafka, MAUI, AI tooling, and C# 14 preview.
-
The Battle of C# Serializers: BinaryFormatter vs. MessagePack vs. Protobuf (with .NET 8 Benchmarks)
medium.com Issue #185
https://medium.com/c-sharp-programming/the-battle-of-c-serializers-binaryformatter-vs-messagepack-vs-protobuf-with-net-8-benchmarks-3fe2ba8944c0
-
Blazor, performance, and .NET 10 Preview 3
DotNetNews Issue #183
Issue #183 covers Blazor UI, C# language changes, performance tuning, EF Core optimization, security, and AI tooling for .NET developers.
-
Optimizing JSON Serialization in .NET: Newtonsoft.Json vs. System.Text.Json
blog.elmah.io Issue #176
https://blog.elmah.io/optimizing-json-serialization-in-net-newtonsoft-json-vs-system-text-json/