system-text-json-net11

Installation
SKILL.md

System.Text.Json — .NET 11

New APIs added to System.Text.Json across .NET 11 releases.

When to Use

  • Serializing or deserializing JSON in a .NET 11 (or later) project
  • Needing strongly-typed JsonTypeInfo<T> access instead of the untyped JsonTypeInfo overload
  • Wanting to safely check whether type metadata is available without catching exceptions (TryGetTypeInfo<T>)
  • Requiring PascalCase property naming during JSON serialization

When Not to Use

  • The project targets .NET 10 or earlier — these APIs are not available before .NET 11
  • Using a JSON library that is not System.Text.Json (e.g., Newtonsoft.Json)
  • The existing untyped GetTypeInfo(Type) / TryGetTypeInfo(Type, ...) overloads are sufficient

Target Framework

Related skills

More from dotnet/skills

Installs
42
Repository
dotnet/skills
GitHub Stars
1.7K
First Seen
10 days ago