Skip to content

Can the library benefit of JSON contract customization to simplify any logic? #129

Open

Description

Activity

  1. Tarmil commented on Sep 25, 2022

    @Tarmil
    Owner

    Some features of FSharp.SystemTextJson could be implemented using this API, but as far as I can tell, it doesn't seem flexible enough for all features. For example, it looks like you can't change the JsonTypeInfo.Kind, which means it can't represent a .NET object as something else than a JSON object. That is needed by some of our union representations (such as InternalTag using an array, or UnwrapFieldlessTags using a string).

  2. xperiandri commented on Sep 27, 2022

    @xperiandri
    ContributorAuthor

    Maybe it worse to open an issue in .NET repo about that?

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