Destructurama.JsonNet 3.0.0

dotnet add package Destructurama.JsonNet --version 3.0.0                
NuGet\Install-Package Destructurama.JsonNet -Version 3.0.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="Destructurama.JsonNet" Version="3.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Destructurama.JsonNet --version 3.0.0                
#r "nuget: Destructurama.JsonNet, 3.0.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.
// 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

License

codecov Nuget Nuget

GitHub Release Date GitHub commits since latest release (by date) Size

GitHub contributors Activity Activity Activity

Run unit tests Publish preview to GitHub registry Publish release to Nuget registry CodeQL analysis

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 486,758 1/22/2024
2.0.2 29,031 1/20/2024
2.0.1 396,013 10/31/2023
2.0.1-dev-00038 114 10/31/2023
2.0.1-dev-00034 4,648 4/14/2022
2.0.0 3,647,033 6/24/2020
2.0.0-dev-00029 254,619 5/12/2020
1.2.2-dev-00027 968 11/21/2019
1.2.1 1,552,645 3/13/2018
1.2.1-dev-00020 926 3/13/2018
1.2.0 11,348 11/15/2017
1.2.0-dev-00014 785 11/15/2017
1.2.0-dev-00012 870 9/20/2017
1.1.0-dev-00009 14,557 6/26/2017
1.0.3 55,675 7/9/2015
1.0.2 3,276 4/1/2015