Bonsai.Sgen 0.2.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Bonsai.Sgen --version 0.2.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.2.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Bonsai.Sgen&version=0.2.0                
nuke :add-package Bonsai.Sgen --version 0.2.0                

Serializer Generator Tool

Tool for automatically generating YAML / JSON serialization classes and constructor operators from schema files.

Getting Started

  1. Navigate to the Bonsai.Sgen NuGet tool package

  2. 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
    
  3. To view the tool help reference documentation, run:

    dotnet bonsai.sgen --help
    
  4. To generate YAML serialization classes from a schema file:

    dotnet bonsai.sgen --schema schema.json --serializer YamlDotNet
    
  5. To generate JSON serialization classes from a schema file:

    dotnet bonsai.sgen --schema schema.json --serializer NewtonsoftJson
    
  6. Copy the generated class file to your project Extensions folder.

  7. 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>
    
  8. To restore the tool at any point, run:

    dotnet tool restore
    
Product 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