FSharp.SystemTextJson icon indicating copy to clipboard operation
FSharp.SystemTextJson copied to clipboard

System.Text.Json extensions for F# types

Results 47 FSharp.SystemTextJson issues
Sort by recently updated
recently updated
newest added

I updated from Newtonsoft.Json/FSharpLu to FSharp.SystemTextJson with `FSharpLuLike`. This unfortunately bit us in production because one of our clients is sending incorrectly cased union cases that worked with FSharpLu but...

F# 9 now enforces attribute targets that previous versions ignored. In particular, to be able to be used on union cases, an attribute must target both `Property` (for field-less cases)...

bug

When building a project that includes a classlib using FSharp.SystemTextJson one encounters the warning: ``` Package 'System.Text.Json' 6.0.0 has a known high severity vulnerability ``` That vulnerability is discussed [here](https://github.com/advisories/GHSA-8g4q-xg66-9fp4)....

This will add the `(>>=)` operator to `Skippable`.

### Description: When deserializing F# records or unions in streaming scenarios (e.g., ASP.NET Core minimal APIs), `Utf8JsonReader.Skip()` throws an exception when encountering unknown/unmapped properties. This is because Skip() doesn't work...

bug

Fixes #118 An initial naive implementation gives interesting results: memory allocations are lower for a small list, as expected, but somehow higher for a longer list and in both cases...