
Description
System.Text.Json for .NET 11 is an agent skill with direct guidance for three APIs added to System.Text.Json in .NET 11. It tells an AI assistant when to reach for each one, what to write, what not to write, and how to prove that the result runs. The first is the built-in JsonNamingPolicy.PascalCase, which replaces a custom naming policy subclass or hand-written JsonPropertyName attributes on every member. The second is JsonSerializerOptions.GetTypeInfo<T>(), which replaces the non-generic GetTypeInfo call and the cast that followed it. The third is JsonSerializerOptions.TryGetTypeInfo<T>, which replaces a try and catch around GetTypeInfo used only to check whether a type is available. The skill says the first step is to make the requested net11.0 validation possible, because these APIs exist only in the .NET 11 base class library. It also asks the agent to apply the APIs, run the code and show the output, rather than describe them to the user. Use it when a project targets .NET 11 and needs its JSON serialization written or fixed with these newer APIs.…
Highlights
- Built-in PascalCase JSON naming policy
- Typed GetTypeInfo<T> lookup for JSON metadata
- TryGetTypeInfo<T> to check availability without exceptions
- Requires the .NET 11 base class library
Ratings & Reviews
No ratings yet
Be the first to rate system-text-json-net11.
People also visit
system-text-json-net11 FAQ
Which APIs does this skill cover?
JsonNamingPolicy.PascalCase, JsonSerializerOptions.GetTypeInfo<T>() and JsonSerializerOptions.TryGetTypeInfo<T>, all added in .NET 11.
Will it work on older .NET versions?
No. The skill says these APIs only exist in the .NET 11 base class library, so the target must be net11.0.
How do I install it?
Run npx skills add https://github.com/dotnet/skills --skill system-text-json-net11 in your project.
Is it free and open source?
Yes. It is published in the public dotnet/skills repository on GitHub.
What do the security audits say?
skills.sh lists Gen Agent Trust Hub: Pass, Socket: Pass and Snyk: Pass for this skill.
What are the best system-text-json-net11 alternatives?
Popular alternatives to system-text-json-net11 include openapi, swift-api-design-guidelines and modern-csharp-coding-standards. See all system-text-json-net11 alternatives













