Skip to content

Migrating to System.Text.Json #9727

@just-ero

Description

@just-ero

Description

As mentioned by @yufeih in #9717 (reply in thread), the use of NewtonSoft.Json in this library is due to the age of it. That's understandable.

However, using .NET's own System.Text.Json namespace should provide at least these obvious benefits:

  • Clear performance advantage.
  • One less third-party dependency.

I propose that a gradual move to System.Text.Json be made, despite it not being trivial. This move can coincide with the change to providing public config/options classes proposed in #9726.

Feel free to close if not planned or move to a "Backlog"-type milestone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    fundamentalEngineering system and core components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions