SIR.Json 2.5.0

dotnet add package SIR.Json --version 2.5.0
                    
NuGet\Install-Package SIR.Json -Version 2.5.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.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SIR.Json" Version="2.5.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.5.0
                    
#r "nuget: SIR.Json, 2.5.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.5.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.5.0
                    
Install as a Cake Addin
#tool nuget:?package=SIR.Json&version=2.5.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 skicka in omvårdnadsdokumentation delirium.

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 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 is compatible.  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.5.0 237 11/6/2025
2.4.0 232 10/30/2024
2.3.0 242 9/4/2024
2.2.0.4 250 5/24/2024
2.2.0.3 247 5/24/2024
2.2.0 300 12/20/2023
2.2.0-beta3 203 12/14/2023
2.2.0-beta2 166 12/14/2023
2.1.0 316 3/14/2023
2.0.22 501 10/6/2022
0.9.4-beta 281 7/15/2022
0.9.3-beta 309 5/11/2022
0.9.2-beta 299 5/10/2022
0.9.1-beta 300 5/10/2022
0.9.0-beta 497 5/10/2022