Skip to content

Move serializers to a separate project and NuGet to support System.Text.Json in another project and NuGet #148

Open

Description

@xperiandri

Create a new project for NewtonSoft.JSON serializers and issue them as a separate NuGet package

Activity

  1. matt-lethargic commented on Aug 12, 2020

    @matt-lethargic
    Member

    @xfischer I've been looking at the issues that System.Text.Json has brought about and thinking that this could be a solution in a v2 of GeoJSON.Net.

    • Natively support System.Text.Json
    • Contrib lib for Json.Net

    Thoughts?

  2. xfischer commented on Aug 12, 2020

    @xfischer
    Member

    Yes I agree to set System.Text.Json as the default (de)serializer, and provide backwards compatibility as a separate NuGet package, as suggested by @xperiandri.
    Let's create a branch for that purpose and get started. @matt-lethargic did you look how to migrate existing converters ? As I saw quickly it seems like a lot of work to support System.Text.Json, but hopefully we are covered with unit tests.

    I'll take care of the Contribs in a similar new-branch approach.

    Related MS docs :

  3. matt-lethargic commented on Aug 12, 2020

    @matt-lethargic
    Member

    I haven't looked at the migration properly yet, but have docs in front of me.
    Will start a v2 branch

  4. steveoh commented on Sep 2, 2020

    @steveoh

    I've been migrating a similar project to STJ and it's not that bad. I was going to fork this for my project but I am glad that it is on your radar and I am happy to contribute. How's the progress so far?

  5. steveoh commented on Sep 3, 2020

    @steveoh

    Since there wasn't any visible progress, I went ahead and forked. Please provide some early feedback and participate!

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