Bonsai.Sgen
0.3.0
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global Bonsai.Sgen --version 0.3.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Bonsai.Sgen --version 0.3.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Bonsai.Sgen&version=0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Bonsai.Sgen --version 0.3.0
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 --version 0.2.0
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.0" /> <PackageReference Include="YamlDotNet" Version="13.7.1" /> </ItemGroup> </Project>
To restore the tool at any point, run:
dotnet tool restore
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
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.4.0 | 131 | 6/14/2024 |
0.3.0 | 715 | 1/25/2024 |
0.3.0-build230404 | 140 | 1/15/2024 |
0.2.0 | 169 | 1/15/2024 |
0.1.0 | 313 | 10/7/2023 |
0.1.0-build231006 | 233 | 10/6/2023 |
0.1.0-build230726 | 272 | 7/26/2023 |
0.1.0-build230718 | 253 | 7/17/2023 |