Version 0.8
-
#30: Unwrap
'T voption
withJsonUnionEncoding.UnwrapOption
. Thanks @johlrich! -
#32: Add
JsonUnionEncoding.UnwrapSingleFieldCases
, which encodes the field of single-field cases asx
instead 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
allowNullFields
disables this behavior. -
#38: Add more consistent names for options:
BareFieldlessTags
becomesUnwrapFieldlessTags
;SuccintOption
becomesUnwrapOption
;EraseSingleCaseUnions
becomesUnwrapSingleCaseUnions
.
The previous names are marked
Obsolete
.