Skip to content

Capture System.Text.Json documents directly as structured data #45

@omidkrad

Description

@omidkrad

I'm using System.Text.Json.Serialization attributes/convertors for configuring serialization of my classes, but I think Seq logger is using Newtonsoft.Json so when I use the @ character to log an object like Logger.LogInformation("{@Item}", Item); it uses the default serialization all will include all [JsonIgnore] properties which makes the object very bloated and large. My request is to add an option in .AddSeq to be able to chose the serialization method between Newtonsoft and Microsoft's. I think more people will need this as more people use dotnet's JSON library for their new projects. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions