Releases: thoth-org/Thoth.Json.Net
Releases Β· thoth-org/Thoth.Json.Net
12.0.0
11.0.0
Fixed
- Guard
decodeMaybeNull
to evaluates thedecoder
only if the value is notnull
10.1.0
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
8.0.0
Changed
- BREAKING CHANGE: Represent
sbyte
using number instead of string. - BREAKING CHANGE: Represent
byte
using number instead of string. - BREAKING CHANGE: Represent
int16
using number instead of string. - BREAKING CHANGE: Represent
uint16
using number instead of string.
7.1.0
7.0.0
Removed
- PR #24: Remove broken Converter, people can use https://github.com/DnnFable/Thoth.Json.Net.Formatter as a replacement (by @SCullman)
6.0.0
5.0.0
4.0.0
Changed
- isCamelCase is now replaced by caseStrategy=CamelCase
Added
- Added caseStrategy that accept CamelCase | PascalCase | SnakeCase