mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-05-01 12:44:13 +02:00
s
This commit is contained in:
@@ -22,7 +22,7 @@ namespace WireMock.Transformers;
|
||||
[PublicAPI]
|
||||
public class NewtonsoftJsonBodyTransformer(WireMockServerSettings settings) : IJsonBodyTransformer
|
||||
{
|
||||
private readonly NewtonsoftJsonConverter _jsonConverter = new();
|
||||
private static readonly NewtonsoftJsonConverter _jsonConverter = new();
|
||||
|
||||
/// <inheritdoc />
|
||||
public BodyData TransformBodyAsJson(
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace WireMock.Transformers;
|
||||
[PublicAPI]
|
||||
public class SystemTextJsonBodyTransformer() : IJsonBodyTransformer
|
||||
{
|
||||
private readonly SystemTextJsonConverter _jsonConverter = new();
|
||||
private static readonly SystemTextJsonConverter _jsonConverter = new();
|
||||
|
||||
/// <inheritdoc />
|
||||
public BodyData TransformBodyAsJson(
|
||||
|
||||
Reference in New Issue
Block a user