Skip to content

Support set JSON options serialisation

Choose a tag to compare

@dualbios dualbios released this 30 May 12:40
· 4 commits to main since this release
e175fa0

Support set JSON options serialisation in UseFileBaseContextDatabase, for example, adding a converter like GeoJSON4STJ.

options.UseFileBaseContextDatabase(location: "userDb", applyServices: services =>
{
    services.ConfigureJsonSerializerOptions(options =>
    {
        options.Converters.Add(new GeoJsonConverterFactory());
    });
});