Version 0.8
-
#30: Unwrap
'T voptionwithJsonUnionEncoding.UnwrapOption. Thanks @johlrich! -
#32: Add
JsonUnionEncoding.UnwrapSingleFieldCases, which encodes the field of single-field cases asxinstead of[x]. Include it inJsonUnionEncoding.FSharpLuLike. -
#33: Fix "read too much or not enough" when parsing a list of unions with
JsonUnionEncoding.UnwrapFieldlessTags. -
#36: BREAKING CHANGE: During deserialization, throw an exception when a field of a record or union has value
null, unless the type of this field isoption,voption, or a union withUseNullAsTrueValue. Thanks @drhumlen!New option
allowNullFieldsdisables this behavior. -
#38: Add more consistent names for options:
BareFieldlessTagsbecomesUnwrapFieldlessTags;SuccintOptionbecomesUnwrapOption;EraseSingleCaseUnionsbecomesUnwrapSingleCaseUnions.
The previous names are marked
Obsolete.