<PackageReference Include="System.Text.Json" Version="7.0.3" />

FSharpCoreReflectionProxy

Proxy class used to access FSharp.Core metadata and reflection APIs that are not statically available to System.Text.Json.
public enum FSharpKind

The various categories of F# types that System.Text.Json supports.

public sealed delegate StructGetter<TStruct, TResult> : MulticastDelegate where TStruct : struct

public const string FSharpCoreUnreferencedCodeMessage = "Uses Reflection to access FSharp.Core components at runtime."

public static FSharpCoreReflectionProxy Instance { get; }

Gets the singleton proxy instance; prerequires a successful IsFSharpType call for proxy initialization.

public static bool IsFSharpType(Type type)

Checks if the provided System.Type instance is emitted by the F# compiler. If true, also initializes the proxy singleton for future by other F# types.

public Func<IEnumerable<TElement>, TFSharpList> CreateFSharpListConstructor<TFSharpList, TElement>()

public Func<IEnumerable<Tuple<TKey, TValue>>, TFSharpMap> CreateFSharpMapConstructor<TFSharpMap, TKey, TValue>()

public Func<TElement, TFSharpOption> CreateFSharpOptionSomeConstructor<TFSharpOption, TElement>()

public Func<TFSharpOption, T> CreateFSharpOptionValueGetter<TFSharpOption, T>()

public Func<IEnumerable<TElement>, TFSharpSet> CreateFSharpSetConstructor<TFSharpSet, TElement>()

public Func<TElement, TFSharpOption> CreateFSharpValueOptionSomeConstructor<TFSharpOption, TElement>()

public StructGetter<TFSharpValueOption, TElement> CreateFSharpValueOptionValueGetter<TFSharpValueOption, TElement>() where TFSharpValueOption : struct