Skip to content

System.Text.Json support #27

Open
Open

Description

@mpec

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

Activity

  1. mjschuetze102 commented on Apr 26, 2023

    @mjschuetze102
    Contributor

    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?

  2. mpec commented on Apr 27, 2023

    @mpec
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions