SIR.Json 2.4.0

dotnet add package SIR.Json --version 2.4.0
                    
NuGet\Install-Package SIR.Json -Version 2.4.0
                    
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="SIR.Json" Version="2.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SIR.Json" Version="2.4.0" />
                    
Directory.Packages.props
<PackageReference Include="SIR.Json" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SIR.Json --version 2.4.0
                    
#r "nuget: SIR.Json, 2.4.0"
                    
#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.
#:package SIR.Json@2.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SIR.Json&version=2.4.0
                    
Install as a Cake Addin
#tool nuget:?package=SIR.Json&version=2.4.0
                    
Install as a Cake Tool

SIRs hemsida hittar ni dokumentation och ett exempel-projekt där ni kan se hur SIR.Json används i praktiken.

Denna version gör det möjligt att sätta nytt värde på Avliden2024->VarförGenomfördesInteDCD till OlämpligSomDCDdonatorMedicinskaSkäl

Extensions

I paketet finns en klass som heter Extensions. Dessa tillägg är skapade för att ni på ett enkelt sätt själva ska kunna skapa Json-filer för rapportering till SIR. Det finns tre metoder, ToJsonDocument(), Save() och SaveAsync().

ToJsonDocument()

JsonDocument ToJsonDocument(this SIRData data)

Serialiserar ett objekt av datatyp SIRData till ett JsonDocument.

Save()

void Save(this SIRData data, string fileName)

Serialiserar ett objekt av datatyp SIRData och sparar ner Json-filen till angiven plats & namn.

SaveAsync()

Task SaveAsync(this SIRData data, string fileName)

Serialiserar ett objekt av datatyp asynkront SIRData och sparar ner Json-filen till angiven plats & namn.

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 is compatible.  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 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.4.0 160 10/30/2024
2.3.0 174 9/4/2024
2.2.0.4 184 5/24/2024
2.2.0.3 177 5/24/2024
2.2.0 235 12/20/2023
2.2.0-beta3 160 12/14/2023
2.2.0-beta2 128 12/14/2023
2.1.0 269 3/14/2023
2.0.22 441 10/6/2022
0.9.4-beta 221 7/15/2022
0.9.3-beta 240 5/11/2022
0.9.2-beta 224 5/10/2022
0.9.1-beta 233 5/10/2022
0.9.0-beta 388 5/10/2022