19 lines
680 B
C#
19 lines
680 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 Microsoft.AspNet.Mvc.Internal;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Microsoft.AspNet.Mvc
|
|
{
|
|
/// <summary>
|
|
/// Provides programmatic configuration for JSON in the MVC framework.
|
|
/// </summary>
|
|
public class MvcJsonOptions
|
|
{
|
|
/// <summary>
|
|
/// Gets the <see cref="JsonSerializerSettings"/> that are used by this application.
|
|
/// </summary>
|
|
public JsonSerializerSettings SerializerSettings { get; } = SerializerSettingsProvider.CreateSerializerSettings();
|
|
}
|
|
} |