jellyfin-server/MediaBrowser.Controller/Entities
Bond_009 a9b497720d Use JsonSerializer.SerializeToUtf8Bytes when doing a round trip
This test uses a very small object (CountryInfo), using a bigger object
would increase the difference in allocated memory.

```
BenchmarkDotNet=v0.12.1, OS=fedora 32
Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=5.0.100
  [Host]     : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT
  DefaultJob : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT

|          Method |       Mean |    Error |   StdDev |  Gen 0 | Gen 1 | Gen 2 | Allocated |
|---------------- |-----------:|---------:|---------:|-------:|------:|------:|----------:|
|  RoundTripBytes |   932.0 ns |  5.09 ns |  4.25 ns | 0.1173 |     - |     - |     368 B |
| RoundTripString | 1,114.8 ns | 22.19 ns | 23.74 ns | 0.1469 |     - |     - |     464 B |
```
2021-01-12 15:37:18 +01:00
..
Audio Use a more descriptive function name 2020-12-13 08:15:26 -07:00
Movies Use a more descriptive function name 2020-12-13 08:15:26 -07:00
TV Use a more descriptive function name 2020-12-13 08:15:26 -07:00
AggregateFolder.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
AudioBook.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
BaseItem.cs Use a more descriptive function name 2020-12-13 08:15:26 -07:00
BaseItemExtensions.cs Fix SA 1116 warnings 2020-10-12 20:05:11 +02:00
BasePluginFolder.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
Book.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
CollectionFolder.cs Use JsonSerializer.SerializeToUtf8Bytes when doing a round trip 2021-01-12 15:37:18 +01:00
Extensions.cs Add full stop at end of comments (SA1629) 2020-06-16 10:37:52 +12:00
Folder.cs Use a more descriptive function name 2020-12-13 08:15:26 -07:00
Genre.cs Fix build 2020-10-17 16:27:31 +02:00
ICollectionFolder.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
IHasAspectRatio.cs Add full stop at end of comments (SA1629) 2020-06-16 10:37:52 +12:00
IHasDisplayOrder.cs Add full stop at end of comments (SA1629) 2020-06-16 10:37:52 +12:00
IHasMediaSources.cs Fix SA1513, SA1514, SA1507, and SA1508 2020-09-28 15:04:31 -05:00
IHasProgramAttributes.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
IHasScreenshots.cs Add full stop at end of comments (SA1629) 2020-06-16 10:37:52 +12:00
IHasSeries.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
IHasSpecialFeatures.cs More warn 2020-08-19 18:02:34 +02:00
IHasStartDate.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
IHasTrailers.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
IItemByName.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
IMetadataContainer.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
InternalItemsQuery.cs Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage. 2020-11-16 20:29:46 -07:00
InternalPeopleQuery.cs Fix Persons, Genres and Studios endpoints 2020-11-05 12:27:22 +01:00
ISupportsBoxSetGrouping.cs Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
ISupportsPlaceHolders.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
ItemImageInfo.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
LinkedChild.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
MusicVideo.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
PeopleHelper.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
Person.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
PersonInfo.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
Photo.cs Fix SA1513, SA1514, SA1507, and SA1508 2020-09-28 15:04:31 -05:00
PhotoAlbum.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
Share.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
SourceType.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
Studio.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
TagExtensions.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
Trailer.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
UserItemData.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
UserRootFolder.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
UserView.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00
UserViewBuilder.cs Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage. 2020-11-16 20:29:46 -07:00
Video.cs Remove PlayableStreamFileNames as unused 2020-10-01 22:20:34 +02:00
Year.cs Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release 2020-08-22 21:56:24 +02:00