dotnet-source-gen-json
π―Skillfrom im5tu/dotnet-skills
Generates JSON serialization and deserialization code for .NET classes using source generators, improving performance and reducing boilerplate.
Part of
im5tu/dotnet-skills(10 items)
Installation
npx skills add im5tu/dotnet-skillsMore from this repository9
Enables and configures testing platforms and frameworks for .NET projects, streamlining test setup and infrastructure.
Transforms .NET logging calls to use LoggerMessage source generator for high-performance, AOT-compatible logging with zero boxing overhead.
Converts JSON payloads with polymorphic type handling, enabling dynamic deserialization of complex .NET object hierarchies.
Converts options validation to compile-time source generator for AOT-compatible, reflection-free validation at startup.
Converts .NET regex instances to compile-time source-generated implementations for improved performance and AOT compatibility.
Centralizes NuGet package versions across .NET projects by creating a single `Directory.Packages.props` file and updating project references.
Enables dotnet CLI tab autocomplete across multiple shells, automatically detecting .NET version and configuring shell-specific completion scripts.
Automatically lists and updates outdated NuGet packages in .NET projects, guiding users through dependency management with interactive confirmation.
Analyzes and configures .NET projects for Native AOT compatibility, applying source generators and optimizing AOT deployment settings.