8000 Migrate from Newtonsoft.Json to System.Text.Json · Issue #52 · pdevito3/craftsman · GitHub
[go: up one dir, main page]

Skip to content

Migrate from Newtonsoft.Json to System.Text.Json #52

@sshquack

Description

@sshquack

Problem I am trying to solve

  • Improve default performance, security and standards compliance of Json ser/deser
  • Currently the default scaffold builders use Newtonsoft.Json here
  • The .NET team has written a detailed article on System.Text.Json here
  • The migration guide lists the problems it solves and the gaps in comparison to Newtonsoft.Json here
  • The MassTransit project is migrating to System.Text.Json and saw a 2x increase in performance while using less memory here and here.

Solution I'd like

  • Make System.Text.Json the default. Since a lot of web APIs rely on JSON ser/de-ser, this allows newcomers to realize the performance benefits while eliminating security risk and improving JSON standards compliance.

I'd love to contribute this change, if this is something that sounds interesting to you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0