aspnetcore/src/Components/test/E2ETest/TestJsonSerializerOptionsPr...

17 lines
540 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Text.Json;
namespace Microsoft.AspNetCore.Components.E2ETest
{
internal static class TestJsonSerializerOptionsProvider
{
public static JsonSerializerOptions Options { get; } = new JsonSerializerOptions
{
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
PropertyNameCaseInsensitive = true,
};
}
}