You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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?
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.
Activity
mjschuetze102 commentedon 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 commentedon 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.