Destructurama.JsonNet 2.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Destructurama.JsonNet --version 2.0.2                
NuGet\Install-Package Destructurama.JsonNet -Version 2.0.2                
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="2.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Destructurama.JsonNet --version 2.0.2                
#r "nuget: Destructurama.JsonNet, 2.0.2"                
#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=2.0.2

// Install Destructurama.JsonNet as a Cake Tool
#tool nuget:?package=Destructurama.JsonNet&version=2.0.2                

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 net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  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 728,794 1/22/2024
2.0.2 34,018 1/20/2024
2.0.1 435,876 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,765,462 6/24/2020
2.0.0-dev-00029 261,010 5/12/2020
1.2.2-dev-00027 982 11/21/2019
1.2.1 1,576,217 3/13/2018
1.2.1-dev-00020 939 3/13/2018
1.2.0 11,386 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,663 7/9/2015
1.0.2 3,363 4/1/2015