Destructurama.JsonNet
4.0.0
dotnet add package Destructurama.JsonNet --version 4.0.0
NuGet\Install-Package Destructurama.JsonNet -Version 4.0.0
<PackageReference Include="Destructurama.JsonNet" Version="4.0.0" />
paket add Destructurama.JsonNet --version 4.0.0
#r "nuget: Destructurama.JsonNet, 4.0.0"
// Install Destructurama.JsonNet as a Cake Addin #addin nuget:?package=Destructurama.JsonNet&version=4.0.0 // Install Destructurama.JsonNet as a Cake Tool #tool nuget:?package=Destructurama.JsonNet&version=4.0.0
Destructurama.JsonNet
Adds support for logging JSON.NET dynamic types as structured data with Serilog.
Installation
Install from NuGet:
Install-Package Destructurama.JsonNet
Usage
Modify logger configuration:
var log = new LoggerConfiguration()
.Destructure.JsonNetTypes()
...
Any JSON.NET dynamic object can be represented in the log event's properties:
var obj = JsonConvert.DeserializeObject<dynamic>(someJson);
Log.Information("Deserialized {@Obj}", obj);
Benchmarks
The results are available here.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- Newtonsoft.Json (>= 13.0.3)
- Serilog (>= 4.2.0)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 13.0.3)
- Serilog (>= 4.2.0)
NuGet packages (13)
Showing the top 5 NuGet packages that depend on Destructurama.JsonNet:
Package | Downloads |
---|---|
Ewl
The Enterprise Web Library (EWL), together with its tailored infrastructure platform, is a highly opinionated foundation for web-based enterprise software. |
|
ComplianceAuditSystems.AcabimCommonServices
Package Description |
|
Soneta.Logging
Składnik programu Soneta. Program obsługi firmy: kadry-płace, księgowość, handel, magazyn, CRM, BI ... |
|
FFCEI.Microservices
A free library for ASP.NET Core 6+ Microservices development, with Model, Model Repository, Entity Framework Core and common Web Api features like CORS, Json serialization fixes, Swagger generation, JWT Authentication for simple and objective microservices development |
|
HsnSoft.Base.AspNetCore.Serilog
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.0.0 | 1,195 | 12/15/2024 |
3.0.0 | 847,315 | 1/22/2024 |
2.0.2 | 35,914 | 1/20/2024 |
2.0.1 | 450,657 | 10/31/2023 |
2.0.1-dev-00038 | 129 | 10/31/2023 |
2.0.1-dev-00034 | 4,723 | 4/14/2022 |
2.0.0 | 3,810,126 | 6/24/2020 |
2.0.0-dev-00029 | 263,335 | 5/12/2020 |
1.2.2-dev-00027 | 986 | 11/21/2019 |
1.2.1 | 1,591,990 | 3/13/2018 |
1.2.1-dev-00020 | 948 | 3/13/2018 |
1.2.0 | 11,456 | 11/15/2017 |
1.2.0-dev-00014 | 809 | 11/15/2017 |
1.2.0-dev-00012 | 888 | 9/20/2017 |
1.1.0-dev-00009 | 14,576 | 6/26/2017 |
1.0.3 | 57,099 | 7/9/2015 |
1.0.2 | 3,398 | 4/1/2015 |