Loïc Denuzière

Results 77 issues of Loïc Denuzière

Allow specifying which attributes should apply to a given property or union case in the options. This is useful to override the format of a type that is not under...

enhancement

Allow using `typedefof` to override options for all instances of a generic type. Example: ```fsharp let options = FSharpJsonOptions() .WithOverrides(fun o -> dict [ typedefof, o.WithUnionTagName("Result") ]) .ToJsonSerializerOptions() JsonSerializer.Serialize((Ok "test":...

enhancement

Very WIP. Currently only implemented for record serialization (struct records are failing). It's definitely an improvement over [the previous results](https://github.com/Tarmil/FSharp.SystemTextJson/pull/11), especially in terms of runtime but also in terms of...

Advantage: better performance compared with current `List.ofArray`. Inconvenient: bumps the dependency on FSharp.Core from 4.7 to 6.0.

Trigger notifications for types implementing `IJsonOnDeserialized`, `IJsonOnDeserializing`, `IJsonOnSerialized` and `IJsonOnSerializing`.

enhancement

Currently it's impossible to do something like this because one of the `Exec`s will always fail: ```fsharp let [] IsUnix = String.EQ.Value // Dumb example of a command that needs...

enhancement

https://docs.microsoft.com/en-us/dotnet/fsharp/tour

enhancement

The dropdown is a bit barebones, and won't scale as we add samples.

enhancement

Currently autocomplete tooltips aren't escaped for HTML, so they can do some injection. ![screenshot](https://user-images.githubusercontent.com/921395/50366248-e2c0a080-0578-11e9-84bd-74ac38808fa4.png) For a more realistic and confusing scenario, this means that a value of type eg `List`...

bug