Thoth.Json.Net
Thoth.Json.Net copied to clipboard
How to reproduce: ``` #r "nuget:Thoth.Json.Net" open Thoth.Json.Net let decoder = Decode.keyValuePairs Decode.int Decode.unsafeFromString decoder """ { "a": 1, "b": 2, "c": false } """ ``` ``` System.Exception : Error...
Whenever I use `Decode.fromString`, I expect it to return either `Ok` or `Error` and never throw exceptions. However, if the JSON contains a really large number, a `System.InvalidCastException` exception is...
```fsharp #r "nuget: Thoth.Json.Net, 10.1.0" open Thoth.Json.Net let json = """ { "x": 123, "y": 456, } """ match Decode.fromString Decode.value json with | Ok _ -> printfn "The JSON...
This aims to fix https://github.com/thoth-org/Thoth.Json/issues/169. As I'm not familiar with this codebase it would be good if someone else checked my work and that I haven't missed anything. Please let...
Accompanying PR to https://github.com/thoth-org/Thoth.Json/pull/63
Fix https://github.com/thoth-org/Thoth.Json.Net/issues/32
Adding support for DotNet Core debugging by using portable PDBs. It's all driven by paket itself ! I'll be waiting for SourceLink v2 to stabilize (actually I'm already using it),...
Hello! I think I have figured out how to implement an Auto decoder for `seq (inner : obj seq) = interface seq = (seq { for x in inner do...
specifically when the input string contains new lines, tab characters, quote characters etc.