aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs')
-rw-r--r--Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs21
1 files changed, 0 insertions, 21 deletions
diff --git a/Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs b/Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs
deleted file mode 100644
index ea8c5ecdb..000000000
--- a/Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-using Jellyfin.Extensions.Json;
-using Microsoft.AspNetCore.Mvc.Formatters;
-using Microsoft.Net.Http.Headers;
-
-namespace Jellyfin.Server.Formatters
-{
- /// <summary>
- /// Camel Case Json Profile Formatter.
- /// </summary>
- public class CamelCaseJsonProfileFormatter : SystemTextJsonOutputFormatter
- {
- /// <summary>
- /// Initializes a new instance of the <see cref="CamelCaseJsonProfileFormatter"/> class.
- /// </summary>
- public CamelCaseJsonProfileFormatter() : base(JsonDefaults.CamelCaseOptions)
- {
- SupportedMediaTypes.Clear();
- SupportedMediaTypes.Add(MediaTypeHeaderValue.Parse(JsonDefaults.CamelCaseMediaType));
- }
- }
-}