Destructurama.JsonNet
3.0.0
dotnet add package Destructurama.JsonNet --version 3.0.0
NuGet\Install-Package Destructurama.JsonNet -Version 3.0.0
<PackageReference Include="Destructurama.JsonNet" Version="3.0.0" />
paket add Destructurama.JsonNet --version 3.0.0
#r "nuget: Destructurama.JsonNet, 3.0.0"
// Install Destructurama.JsonNet as a Cake Addin #addin nuget:?package=Destructurama.JsonNet&version=3.0.0 // Install Destructurama.JsonNet as a Cake Tool #tool nuget:?package=Destructurama.JsonNet&version=3.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 (>= 3.1.1)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 13.0.3)
- Serilog (>= 3.1.1)
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 |
---|---|---|
3.0.0 | 716,988 | 1/22/2024 |
2.0.2 | 33,685 | 1/20/2024 |
2.0.1 | 434,001 | 10/31/2023 |
2.0.1-dev-00038 | 125 | 10/31/2023 |
2.0.1-dev-00034 | 4,700 | 4/14/2022 |
2.0.0 | 3,760,057 | 6/24/2020 |
2.0.0-dev-00029 | 260,657 | 5/12/2020 |
1.2.2-dev-00027 | 982 | 11/21/2019 |
1.2.1 | 1,575,096 | 3/13/2018 |
1.2.1-dev-00020 | 939 | 3/13/2018 |
1.2.0 | 11,378 | 11/15/2017 |
1.2.0-dev-00014 | 800 | 11/15/2017 |
1.2.0-dev-00012 | 879 | 9/20/2017 |
1.1.0-dev-00009 | 14,567 | 6/26/2017 |
1.0.3 | 56,629 | 7/9/2015 |
1.0.2 | 3,361 | 4/1/2015 |