From 7186b343bd21fe6b4e771b8530bd780a98a84472 Mon Sep 17 00:00:00 2001 From: Patrick Barron Date: Fri, 13 Jan 2023 22:23:22 -0500 Subject: Move Formatters to Jellyfin.Api --- .../Formatters/CamelCaseJsonProfileFormatter.cs | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs (limited to 'Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs') diff --git a/Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs b/Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs deleted file mode 100644 index ea8c5ecdb1..0000000000 --- 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 -{ - /// - /// Camel Case Json Profile Formatter. - /// - public class CamelCaseJsonProfileFormatter : SystemTextJsonOutputFormatter - { - /// - /// Initializes a new instance of the class. - /// - public CamelCaseJsonProfileFormatter() : base(JsonDefaults.CamelCaseOptions) - { - SupportedMediaTypes.Clear(); - SupportedMediaTypes.Add(MediaTypeHeaderValue.Parse(JsonDefaults.CamelCaseMediaType)); - } - } -} -- cgit v1.2.3