Bonsai.Sgen
0.0.1002
dotnet tool install --global Bonsai.Sgen --version 0.0.1002
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Bonsai.Sgen --version 0.0.1002
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Bonsai.Sgen&version=0.0.1002
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Bonsai.Sgen --version 0.0.1002
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Serializer Generator Tool
Tool for automatically generating YAML / JSON serialization classes and constructor operators from schema files.
Getting Started
Navigate to the Bonsai.Sgen NuGet tool package
Click
.NET CLI (Local)
and copy the two suggested commands. E.g.:dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Bonsai.Sgen
To view the tool help reference documentation, run:
dotnet bonsai.sgen --help
To generate YAML serialization classes from a schema file:
dotnet bonsai.sgen --schema schema.json --serializer YamlDotNet
To generate JSON serialization classes from a schema file:
dotnet bonsai.sgen --schema schema.json --serializer NewtonsoftJson
Copy the generated class file to your project
Extensions
folder.Add the necessary package references to your
Extensions.csproj
file. For example:<ItemGroup> <PackageReference Include="Bonsai.Core" Version="2.8.5" /> <PackageReference Include="YamlDotNet" Version="13.7.1" /> </ItemGroup>
To restore the tool at any point, run:
dotnet tool restore
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
0.0.1002 | 0 | 5/17/2025 |