Bonsai.Sgen
0.4.0
Prefix Reserved
dotnet tool install --global Bonsai.Sgen --version 0.4.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.4.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Bonsai.Sgen&version=0.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Bonsai.Sgen --version 0.4.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
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 | 129 | 6/14/2024 |
0.3.0 | 709 | 1/25/2024 |
0.3.0-build230404 | 139 | 1/15/2024 |
0.2.0 | 168 | 1/15/2024 |
0.1.0 | 312 | 10/7/2023 |
0.1.0-build231006 | 232 | 10/6/2023 |
0.1.0-build230726 | 271 | 7/26/2023 |
0.1.0-build230718 | 252 | 7/17/2023 |