Skip to content

TransactionalStateFactory.GetJsonSerializerSettings(IServiceProvider)

GetJsonSerializerSettings(IServiceProvider)

static
View source
public static JsonSerializerSettings GetJsonSerializerSettings(IServiceProvider serviceProvider)
Creates JSON serializer settings suitable for persisted transactional state.

Parameters

serviceProviderIServiceProvider
The service provider used to resolve serialization services.

Returns

The configured JSON serializer settings.