mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 08:45:23 +03:00
update param encoding
This commit is contained in:
@@ -731,6 +731,12 @@ namespace Emby.Server.Implementations.HttpServer
|
||||
|
||||
public object DeserializeJson(Type type, Stream stream)
|
||||
{
|
||||
//using (var reader = new StreamReader(stream))
|
||||
//{
|
||||
// var json = reader.ReadToEnd();
|
||||
// Logger.Info(json);
|
||||
// return _jsonSerializer.DeserializeFromString(json, type);
|
||||
//}
|
||||
return _jsonSerializer.DeserializeFromStream(stream, type);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user