JsonSrcGen 1.0.1-rc2

This is a prerelease version of JsonSrcGen.
There is a newer version of this package available.
See the version list below for details.
dotnet add package JsonSrcGen --version 1.0.1-rc2                
NuGet\Install-Package JsonSrcGen -Version 1.0.1-rc2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="JsonSrcGen" Version="1.0.1-rc2">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JsonSrcGen --version 1.0.1-rc2                
#r "nuget: JsonSrcGen, 1.0.1-rc2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install JsonSrcGen as a Cake Addin
#addin nuget:?package=JsonSrcGen&version=1.0.1-rc2&prerelease

// Install JsonSrcGen as a Cake Tool
#tool nuget:?package=JsonSrcGen&version=1.0.1-rc2&prerelease                

New Features

  • Added JsonOptionalAttribute to specify a property should be set to default if not present in the JSON during deserialisation. This is only necessary if you are reusing an object for multiple deserialisations.

Bug Fixes

  • Fixed deserialising empty objects
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on JsonSrcGen:

Repository Stars
trampster/JsonSrcGen
Json library that uses .NET 5 Source Generators
Version Downloads Last updated
1.1.1 2,195 7/31/2021
1.1.0 1,234 7/23/2021
1.1.0-rc.2 205 7/16/2021
1.1.0-rc.1 192 7/10/2021
1.1.0-beta.1 175 7/1/2021
1.1.0-alpha.2 195 6/21/2021
1.1.0-alpha.1 295 11/29/2020
1.0.3 1,538 11/22/2020
1.0.2 1,544 11/10/2020
1.0.1-rc2 1,345 11/7/2020
1.0.0.1-rc1 1,248 10/29/2020
1.0.0-rc1 1,125 10/29/2020
0.2.0-alpha 27,960 10/10/2020
0.1.0.7-alpha 1,253 9/22/2020
0.1.0.6-alpha 719 9/20/2020
0.1.0.5-alpha 613 9/20/2020
0.1.0.4-alpha 616 9/20/2020
0.1.0.3-alpha 682 9/20/2020
0.1.0.2-alpha 610 9/18/2020
0.1.0-alpha.1 244 9/17/2020