Releases: thoth-org/Thoth.Json.Net
Releases Β· thoth-org/Thoth.Json.Net
12.0.0
11.0.0
Fixed
- Guard
decodeMaybeNullto evaluates thedecoderonly if the value is notnull
10.1.0
9.0.0
Fixed
-
BREAKING CHANGE: Encode
sbyte,byte,int16,uint16,uint32using integer representation instead of decimal.12uis represented using12instead 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.mapto 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.andMapallowing to decoder large objects incrementally
Changed
- Capture
JsonExceptioninstead ofJsonReaderExceptionthis seems to cover more cases (by @PierreYvesR)
Deprecated
- Mark
Decode.datetimeas deprecated
8.0.0
Changed
- BREAKING CHANGE: Represent
sbyteusing number instead of string. - BREAKING CHANGE: Represent
byteusing number instead of string. - BREAKING CHANGE: Represent
int16using number instead of string. - BREAKING CHANGE: Represent
uint16using 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