Install any skill in seconds. Free to start, no credit card required.
Get Started Free →managedcode/system-text-json-net11
Provides guidance on new System.Text.Json APIs introduced in .NET 11. It covers typed JsonTypeInfo access via GetTypeInfo<T> and TryGetTypeInfo<T> on JsonSerializerOptions, and the new JsonNamingPolicy.PascalCase static property.
Passed 20 of 22 test cases with the skill, and 11 of 22 without it.
and 8 more in the full report
10 fixed10 passed either way1 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
In .NET 11 System.Text.Json, what is the exact syntax for obtaining a generic `JsonTypeInfo<T>` for class `Order` from a `JsonSerializerOptions` instance named `opts`?
| Checked | Without skill | With skill |
|---|---|---|
| The expression is opts.GetTypeInfo<Order>() | Missed | Passed |
The instructions your model reads when the skill loads.
New APIs added to System.Text.Json across .NET 11 releases.
JsonTypeInfo<T> access instead of the untyped JsonTypeInfo overloadTryGetTypeInfo<T>)System.Text.Json (e.g., Newtonsoft.Json)GetTypeInfo(Type) / TryGetTypeInfo(Type, ...) overloads are sufficient<TargetFramework>net11.0</TargetFramework>
JsonTypeInfo AccessJsonSerializerOptions.GetTypeInfo<T>()Returns a strongly-typed JsonTypeInfo<T> for the specified type, using the
options' configured type-info resolver.
JsonTypeInfo<T> GetTypeInfo<T>()
JsonSerializerOptions.TryGetTypeInfo<T>(out JsonTypeInfo<T>?)Attempts to retrieve typed metadata without throwing if the type is not resolved.
test cases passed, vs 11 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.