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

Use System.Text.Json as default serializer #63

Open
timbussmann opened this issue Jun 22, 2020 · 1 comment
Open

Use System.Text.Json as default serializer #63

timbussmann opened this issue Jun 22, 2020 · 1 comment

Comments

@timbussmann
Copy link
Contributor

Currently, the Azure Functions packages use the NServiceBus.Newtonsoft.Json package as a dependency and configure the Newtonsoft.Json serializer as the default serializer for function endpoints. This introduces an additional dependency on those JSON related packages which technically we might not need given that the Azure Functions packages target .NET Core 3.1 which has has a built-in JSON support (System.Text.Json).

Community projects like https://github.com/NServiceBusExtensions/NServiceBus.Json have already shown that NServiceBus can work with the built-in Json serializer instead of the Newtonsoft serializer.
It might be necessary to investigate potential compatibility issues given that existing NServiceBus endpoints might still use the Newtonsoft.Json packages instead.

@kbaley
Copy link
Contributor

kbaley commented Oct 11, 2022

See also Particular/NServiceBus#6577

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants