Bonsai.Sgen
0.3.0-build230404
Prefix Reserved
This is a prerelease version of Bonsai.Sgen.
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-build230404
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-build230404
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Bonsai.Sgen&version=0.3.0-build230404&prerelease
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-build230404
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 | 163 | 6/14/2024 |
0.3.0 | 796 | 1/25/2024 |
0.3.0-build230404 | 142 | 1/15/2024 |
0.2.0 | 173 | 1/15/2024 |
0.1.0 | 317 | 10/7/2023 |
0.1.0-build231006 | 235 | 10/6/2023 |
0.1.0-build230726 | 274 | 7/26/2023 |
0.1.0-build230718 | 255 | 7/17/2023 |