contentstack / contentstack-dotnet

.NET SDK for Contentstack's Content Delivery API
MIT License
2 stars 7 forks source link

Newtonsoft.Json Dependency is not performant #77

Open jonatr35 opened 6 days ago

jonatr35 commented 6 days ago

It is well documented that newtonsoft.json is not performant and is not ideal for any cloud serverless applications. This does not seem like a very difficult change to make and would help with anyone using this package in a serverless application. There is even support to have github copilot migrate for you:

https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/migrate-from-newtonsoft?pivots=dotnet-8-0#use-github-copilot-to-migrate

https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/migrate-from-newtonsoft?pivots=dotnet-8-0

Thanks!

jonatr35 commented 6 days ago

Looks like it would have to be removed from this contentstack-dotnet dependency: https://github.com/contentstack/contentstack-utils-dotnet