Tarmil / FSharp.SystemTextJson

System.Text.Json extensions for F# types
MIT License
329 stars 43 forks source link

Add SkippableOptionFields that allows skipping option and voption fields #146

Closed Tarmil closed 1 year ago

Tarmil commented 1 year ago

This adds a new option .WithSkippableOptionFields() that essentially restores the pre-1.0 behavior of fields of type option and voption: during deserialization, a missing field is deserialized as None / ValueNone.

See #138 and #140.