diff options
| author | crobibero <cody@robibe.ro> | 2020-09-04 08:49:06 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-09-04 08:49:06 -0600 |
| commit | becd3b1542025a0be8c987dd7782e055fc955a50 (patch) | |
| tree | 6b8d055e2f329108dab710008fa7d6faa382b548 /MediaBrowser.Common/Json/JsonDefaults.cs | |
| parent | 3be12a9d382fd43b255f6d23dcf83b465f3ef4be (diff) | |
| parent | 376e4793e610838fc05db7fdd0372e5b7e6cb2d6 (diff) | |
Merge remote-tracking branch 'upstream/master' into mad-stylez
Diffstat (limited to 'MediaBrowser.Common/Json/JsonDefaults.cs')
| -rw-r--r-- | MediaBrowser.Common/Json/JsonDefaults.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Json/JsonDefaults.cs b/MediaBrowser.Common/Json/JsonDefaults.cs index 5867cd4a0..67f7e8f14 100644 --- a/MediaBrowser.Common/Json/JsonDefaults.cs +++ b/MediaBrowser.Common/Json/JsonDefaults.cs @@ -10,6 +10,16 @@ namespace MediaBrowser.Common.Json public static class JsonDefaults { /// <summary> + /// Pascal case json profile media type. + /// </summary> + public const string PascalCaseMediaType = "application/json; profile=\"PascalCase\""; + + /// <summary> + /// Camel case json profile media type. + /// </summary> + public const string CamelCaseMediaType = "application/json; profile=\"CamelCase\""; + + /// <summary> /// Gets the default <see cref="JsonSerializerOptions" /> options. /// </summary> /// <remarks> |
