Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): use system.text.json instead of newtonsoft.json throughout #472

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stijnmoreels
Copy link
Member

Use Microsoft's built-in System.Text.Json instead of adding Newtonsoft.Json reference in all Messaging-projects.

This is part of the lightweight exercise described in #470 where dependencies are being investigated on their added-value and maintainence cost.

@stijnmoreels stijnmoreels added dependencies Pull requests that update a dependency file .NET Pull requests that update .net code labels Feb 11, 2025
Copy link

netlify bot commented Feb 11, 2025

Deploy Preview for arcus-messaging canceled.

Name Link
🔨 Latest commit aa1f99f
🔍 Latest deploy log https://app.netlify.com/sites/arcus-messaging/deploys/67aafcba7bc6eb000816d53d

@stijnmoreels stijnmoreels marked this pull request as ready for review February 11, 2025 07:47

<!-- TODO: will be removed in v3.0 -->
<PackageReference Include="System.Text.Json" Version="[8.0.5,10.0.0)" Condition="'$(TargetFramework)' != 'net8.0'" />
<!-- TODO: will be removed in v3.0 -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean ? Why will we remove this dependency in a later version ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As it is only used by .NET Standard and.NET 6. And we are migrating away from them, I believe.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this build in in .NET 8 ?

Copy link
Member Author

@stijnmoreels stijnmoreels Feb 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's included by default in .NET 8, but not in the other frameworks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants