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

System.Text.Json support #27

Open
mpec opened this issue Apr 26, 2023 · 2 comments
Open

System.Text.Json support #27

mpec opened this issue Apr 26, 2023 · 2 comments

Comments

@mpec
Copy link

mpec commented Apr 26, 2023

Hello,

Is there any plan to switch to System.Text.Json as the underlying serlialization/deserialization library?
Or at least have an options to choose between them?

Marcin

@mjschuetze102
Copy link
Contributor

mjschuetze102 commented Apr 26, 2023

Hello!

The code is generated via the swagger-codegen project. The templated code uses Json.NET (Newtonsoft.Json). It is unlikely that we would switch from using Newtonsoft because of that.

Is there any particular reason you'd like one over the other?

@mpec
Copy link
Author

mpec commented Apr 27, 2023

Hi, we used Newtonsoft.Json but we swapped it to System.Text.Json as the polymorphic deserialization works much nicer. We will probably keep Newtonsoft.Json just for communication with ScormCloud for now.

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