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

Consider migration from JSON.NET (Newtonsoft) to System.Text.Json #832

Closed
udlose opened this issue Oct 29, 2020 · 3 comments
Closed

Consider migration from JSON.NET (Newtonsoft) to System.Text.Json #832

udlose opened this issue Oct 29, 2020 · 3 comments

Comments

@udlose
Copy link

udlose commented Oct 29, 2020

The new implementation of System.Text.Json (added in .NET Core 3.0) is now being implemented widespread by the .NET Core team as a replacement for Newtonsoft (JSON.NET). From How to migrate from Newtonsoft.Json to System.Text.Json

System.Text.Json focuses primarily on performance, security, and standards compliance. It has some key differences in default behavior and doesn't aim to have feature parity with Newtonsoft.Json. For some scenarios, System.Text.Json has no built-in functionality, but there are recommended workarounds.

The motivation behind development of this is described here: The future of JSON in .NET Core 3.0

It would seem that migration should be considered since this is the direction of MS and the feature-set and capabilities of System.Text.Json will only grow moving forward. I appreciate your consideration.

@ghost ghost added the Needs: Triage label Oct 29, 2020
@ghost ghost added this to Issues to triage in Graph SDK - Triage Oct 29, 2020
@ddyett ddyett removed this from Issues to triage in Graph SDK - Triage Oct 29, 2020
@ddyett ddyett added this to Backlog in Graph SDK - DotNet via automation Oct 29, 2020
@ddyett
Copy link
Contributor

ddyett commented Oct 29, 2020

this work is planned and under way with our 2.0 preview version. We hope to complete the work soon.

@ddyett ddyett closed this as completed Oct 29, 2020
Graph SDK - DotNet automation moved this from Backlog to Done Oct 29, 2020
@ghost ghost removed the Needs: Triage label Oct 29, 2020
@udlose
Copy link
Author

udlose commented Oct 29, 2020

this work is planned and under way with our 2.0 preview version. We hope to complete the work soon.

@ddyett 2.0? The latest version is 3.19. Am I missing something?

@ddyett
Copy link
Contributor

ddyett commented Oct 29, 2020

apologies. i meant the .NET core preview below. The work for the files in this repo will get under way shortly.

https://www.nuget.org/packages/Microsoft.Graph.Core/2.0.0-preview.3

@microsoftgraph microsoftgraph locked as resolved and limited conversation to collaborators Feb 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Development

No branches or pull requests

2 participants