9.0.0
Fixed
-
BREAKING CHANGE: Encode
sbyte
,byte
,int16
,uint16
,uint32
using integer representation instead of decimal.12u
is represented using12
instead of12.0
. I don't know why Newtonsoft.Json defaults to decimal representation for these types. -
Fix path when auto decoding unions
-
Fix auto coders for nested anon records
Added
- Add source link support.
- Add
Decode.map'
andEncode.map
to supportMap<'Key, 'Value>
- Add
Decode.datetimeUtc
,Decode.datetimeLocal
- Add
Encode.Auto.toString(value)
which is equivalent toEncode.Auto.toString(0, value)
- Add doc comment to
Decode.fromValue
,Decode.fromString
,Decode.unsafeFromString
- Add support for
char
- Add link to the "extra coders" section when coders fail for missing types information
- Add
Decode.andMap
allowing to decoder large objects incrementally
Changed
- Capture
JsonException
instead ofJsonReaderException
this seems to cover more cases (by @PierreYvesR)
Deprecated
- Mark
Decode.datetime
as deprecated