Tarmil / FSharp.SystemTextJson

System.Text.Json extensions for F# types
MIT License
323 stars 44 forks source link

Untagged Unwrapped Single Cases #136

Open daniellittledev opened 1 year ago

daniellittledev commented 1 year ago

Implements: Add Support for Untagged Unwrapped Single Cases #135

This PR would add support for Untagged Unwrapped Single Field Cases.

To support Deserialization it assumes all cases have unique types so finding the case if unambiguous.

This supports a fixed set of primitive types: